def write_gdf(gdf, fname):
gdf_file = open(fname, '<STR_LIT:w>')<EOL>for line in gdf:<EOL><INDENT>for i in np.arange(len(line)):<EOL><INDENT>gdf_file.write(str(line[i]) + '<STR_LIT:\t>')<EOL><DEDENT>gdf_file.write('<STR_LIT:\n>')<EOL><DEDENT>return None<EOL>
Fast line-by-line gdf-file write function


Parameters
----------
gdf : numpy.ndarray
    Column 0 is gids, columns 1: are values.
fname : str
    Path to gdf-file.


Returns
-------
None