1df.to_csv(r'Path where you want to store the exported CSV file\File Name.csv', index = False)
2
1import pandas as pd
2df = pd.read_csv("sample_data.csv")
3
4# .csv file format
5column1,column2
61,2
73,4
85,6
9
10# pandas dataframe
11 column1 column2
120 1 2
131 3 4
142 5 6