convert all colnames of dataframe to upper code example
Example 1: convert all colnames of dataframe to upper
data.columns = map(str.lower, data.columns)
Example 2: convert all colnames of dataframe to upper
data.columns = [x.lower() for x in data.columns]