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