pandas read csv replace unnamed header code example Example: get rid of unnamed column pandas df.to_csv(path, index=False)