Search⌘ K

Coding Challenges on Splitting, Combining, and Merging

Explore how to manipulate DataFrames by splitting columns, handling missing values, joining columns, and merging datasets using pandas. This lesson helps you practice essential data wrangling techniques critical for preparing data for analysis in Python.

Challenge 1: Split a single column

We've already imported the pandas library. Write code to split the Staff Name column in the staff.csv dataset into First Name and Last Name columns. Save the final result in the staff_df ...