"string".upper() # if in apply function .apply(str.upper) # if in column df['col1'] = df['col1'].str.upper()