Answers for "pandas how to change columns names"

3

python: change column name

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

Code answers related to "pandas how to change columns names"

Python Answers by Framework

Browse Popular Code Answers by Language