#Reading in csv df.read_csv('file.csv', index_col=0) #Writing to csv df.to_csv(index=False)
# credit to Stack Overflow user in source link import pandas as pd pd.read_csv(path_to_csv, index_col=0)