I have a dataframe df_new
which looks like:
And when I use the command:
df_new.to_csv(csv+'_filtered.csv', index=False)
I generate a csv file that suddenly breaks the row 24 before the 2 last columns, generating a new undesirable row which is completely empty, except the data of the last 2 columns that should be in the previous row:
Am I doing something wrong to save this file?