pandas column uppercase code example
Example 1: capitalise words in a column pandas
#Cap all words in a string
df.Column1.str.title()
Example 2: convert all colnames of dataframe to upper
data.columns = map(str.lower, data.columns)
#Cap all words in a string
df.Column1.str.title()
data.columns = map(str.lower, data.columns)