I am trying to save a pandas data frame to csv the data frame is made up of lists that I made into a dictionary. The len of each list is consistent at 3000 whenever I convert the data frame into a CSV add unwanted row breaks two random rows near the bottom of the file. There are no NaN values and no hidden text either. All the lists are saved as dtype objects except for one that is int64. I’ve never experienced a problem like this and I’m stumped. Any help is greatly appreciated.
I tried to save the data frame as a CSV and it kept adding in unwanted row breaks
Jaden Skier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.