#You should save the dataframe like this to avoid the problem df.to_csv(index=False) #But if the file is already with this Unnamed: 0 pd.read_csv('path/to/file', index_col=[0])