python rename single dataframe column code example Example: pandas rename single column data.rename(columns={'oldName':'newName'}, inplace=True)