Answers for "open as csv python pandas"

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
0

pandas read to a csv file

data = pd.read_csv("filename.csv") 
data.head()
Posted by: Guest on June-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language