I have a dataframe as shown below:
raw_data = {'regiment': ['Nighthawks', 'Nighthawks', 'Nighthawks', 'Nighthawks'],
'company': ['1st', '1st', '2nd', '2nd'],
'deaths': ['kkk', 52, '25', 616],
'battles': [5, '42', 2, 2],
'size': ['l', 'll', 'l', 'm']}
df = pd.DataFrame(raw_data, columns = ['regiment', 'company', 'deaths', 'battles', 'size'])

My goal is to convert each line inside the data frame to uppercase so that it looks like this:

Note: all data types are objects and should not be changed; output should contain all objects. I want to avoid converting each individual column one by one ... I would like to do this, as a rule, in the entire data area, perhaps.
What I have tried so far is to do this, but to no avail
df.str.upper()