I am adding a column to my dataframe like:
df['AccountID'] = "123456789765"
.
I am assigning it a string value.
Then I am writing the dataframe to a csv file using the to_csv method.
But in the csv file the column values appear like: 1.23456E+11
.
Can someone tell the reason and solution for this ?
I've already tried casting the column to object type again.