Answers for "how to change pandas column name with a function"

3

python: change column name

df = df.rename(columns = {'myvar':'myvar_new'})
Posted by: Guest on July-16-2020

Code answers related to "how to change pandas column name with a function"

Python Answers by Framework

Browse Popular Code Answers by Language