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