Answers for "dataframe put columns titles in lowercase"

1

pandas convert all column names to lowercase

# rename Pandas columns to lower case
df.columns= df.columns.str.lower()
df.columns
Index(['column1', 'column2', 'column3'], dtype='object')
Posted by: Guest on November-13-2020

Code answers related to "dataframe put columns titles in lowercase"

Python Answers by Framework

Browse Popular Code Answers by Language