CommencerCommencer gratuitement

Splitting columns

Good work on all the data-cleaning steps you've taken so far; the final step to get our data ready for analysis is splitting out the full address column into two columns: street address and city.

You'll use Python to carry out this final transformation task. Use CleanerBot3000 to understand how to split these columns and apply a Pandas function to the dataset.

What is the correct Pandas function to approach splitting these columns?

Cet exercice fait partie du cours

Cleaning Data with Generative AI

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice