piper.io.to_tsv¶
-
piper.io.to_tsv(df: pandas.core.frame.DataFrame, file_name: str, sep='\t') → None[source]¶ to TSV
This is a wrapper function rather than using e.g. df.to_tsv() For details of args, kwargs - see help(pd.DataFrame.to_tsv)
- Parameters
df – dataframe
file_name – output filename (extension assumed to be .tsv)
sep – separator - default (tab-delimitted)
- Returns
- Return type
A pandas DataFrame