Cambiar el nombre de una columna DataFrame Python
#suppy as dict the column name to replace
df1 = df.rename(columns={'Name': 'EmpName'})
print(df1)
Talented Tarantula
#suppy as dict the column name to replace
df1 = df.rename(columns={'Name': 'EmpName'})
print(df1)