File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -529,8 +529,9 @@ asking Python to select rows that have a `NaN` value of weight.
529529> ## Challenge - Putting it all together
530530>
531531> 1. Create a new DataFrame that only contains observations with sex values that
532- > are **not** female or male. Assign each sex value in the new DataFrame to a
533- > new value of 'x'. Determine the number of null values in the subset.
532+ > are **not** female or male. Print the number of rows in this new DataFrame.
533+ > Verify the result by comparing the number of rows in the new DataFrame with
534+ > the number of rows in the surveys DataFrame where sex is null.
534535>
535536> 2. Create a new DataFrame that contains only observations that are of sex male
536537> or female and where weight values are greater than 0. Create a stacked bar
You can’t perform that action at this time.
0 commit comments