name unnamed column pandas code example Example: name unnamed column pandas data.rename( columns={'Unnamed: 0':'new column name'}, inplace=True )