pd dataframe single column rename code example Example: pd dataframe single column rename df1 = df.rename(columns={'Name': 'EmpName'}) print(df1)