We have a pandas dataframe named cars with a column containing the brands of the...
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
We have a pandas dataframe named cars with a column containing the brands of the cars. We want to add a new column to this dataframe that contains the capitalized names of the brand of the cars. Which method should we use?