str.upper() str.lower() str.title(): Convert the cases of the font.
import pandas as pd
my_dict={'NAME':['Ravi','Raju','Alex']}
df = pd.DataFrame(data=my_dict)
print(df.NAME.str.upper()) # convert Lower case to Upper case
Output
0 RAVI
1 RAJU
2 ALEX
lower() : Upper case to Lower case
import pandas as pd
my_dict={'NAME':['Ravi','Raju','Alex']}
df = pd.DataFrame(data=my_dict)
print(df.NAME.str.lower())