Skip to content

This an important note in adding new columns in python. First one is to write: cars['COUNTRY']= cars['country'].str.upper()

or you can use: for lab, row in cars.iterrows() : cars['COUNTRY'] = cars['country'].apply(str.upper)