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