1# rename Pandas columns to lower case
2df.columns= df.columns.str.lower()
3df.columns
4Index(['column1', 'column2', 'column3'], dtype='object')
5
1# Creating 'columnB' that has Uppercase versions of all of columnA's values
2df['columnB'] = df['columnA'].str.upper()