Loss of data while writing a pandas dataframe to CSV using to_csv with index = False in python Loss of data while writing a pandas dataframe to CSV using to_csv with index = False in python pandas pandas