I want to write a pandas dataframe to csv. One of the columns of the df has entries which are lists, e.g. [1, 2], [3, 4], ...
When I use df.to_csv(\'output.csv\') and I
df.to_csv('output.tsv', sep='\t')
Will separate the values with tabs instead of commas.
.tsv is tab separated value file