Question

How to save a DataFrame in a tabulation delimited file (.tsv) in Python?


Annonce
Ad

Answer

data2.to_csv('filename.tsv', sep = '\t')


[source]
# ID Query
0 3548 write dataframe to tsv python
1 3888 download and save tsv in python