Answers for "pandas open csv as df"

28

saving a pandas dataframe as a csv

df.to_csv(r'Path where you want to store the exported CSV file\File Name.csv', index = False)
Posted by: Guest on May-06-2020
21

pandas read csv

df = pd.read_csv('data.csv')
Posted by: Guest on March-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language