Answers for "convert all colnames of dataframe to upper"

0

convert all colnames of dataframe to upper

data.columns = map(str.lower, data.columns)
Posted by: Guest on May-30-2021
0

convert all colnames of dataframe to upper

data.columns = [x.lower() for x in data.columns]
Posted by: Guest on May-30-2021

Code answers related to "convert all colnames of dataframe to upper"

Python Answers by Framework

Browse Popular Code Answers by Language