Search⌘ K
AI Features

Challenge: Filling the Missing Values

Challenge: Filling the Missing Values asks you to complete a DataFrame's measurement column: carry forward values for at most two consecutive gaps, then use the updated column average for the rest.

We'll cover the following...

Problem statement

We have the following DataFrame with two columns and ten rows. We want to fill the missing values in the measurement column with their previous values, but we’re only allowed to fill two ...