# Writing to a csv file df.to_csv('foo.csv') # Reading from a csv file pd.read_csv('foo.csv') # return a df