Question: I have a problem making capital letters inside a column.
How do you write upper case str instead of lower case? and not do it manually.

```
import pandas as pd

cc =[1, 2, 3, 4]
aaa = ['ala', 'babcia', 'koty', 'foki']
df = pd.DataFrame({'ID': cc, 'AAA': aaa })

```

[![enter image description here](https://i.stack.imgur.com/pdoJB.png)](https://i.stack.imgur.com/pdoJB.png)

The target look of my data frame:

[![enter image description here](https://i.stack.imgur.com/BuuZF.png)](https://i.stack.imgur.com/BuuZF.png)

Answer: 
use the below line to achieve this.

```
df['AAA'] = df['AAA'].apply(lambda x : x.upper())

```
you can use pandas [str upper](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.str.upper.html) method for this : 

```
df['AAA'] = df['AAA'].str.upper()
df

    ID  AAA
0   1   ALA
1   2   BABCIA
2   3   KOTY
3   4   FOKI

```