I'am exporting a pandas data frame to csv with the following function:
tocsv.to_csv("/Users/john/test/test3.csv")
The outcome is fine but after sorting in excel at the end of the file there were some funny rows:
I think this have been caused by the character '|'. Any suggestion on how to deal with it?