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: 
You can use the .upper() function in pandas along with list comprehension:

```
aaa = ['ala', 'babcia', 'koty', 'foki']
aaa = [x.upper() for x in aaa]

```
You can use that:

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

```