You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
b) Use the boolean array year_2014 you just created to subset the world_data dataframe and store in a variable year_2014_subset. The resulting array should be of size (179 rows, 14 columns).
A: in part a) year_2014 = world_data['year'] == 2014
part b) year_2014_subset = world_data[year_2014]
shape is 39201 rows × 14 columns
Is this question missing an instruction about slicing out rows where life expectancy > 83?
The text was updated successfully, but these errors were encountered:
Could you double-check the shape of your year_2014_subset df?
And for 'above_83_bool = world_data['life_expectancy'] > 83' this is pertaining to the example in the class material
b) Use the boolean array year_2014 you just created to subset the world_data dataframe and store in a variable year_2014_subset. The resulting array should be of size (179 rows, 14 columns).
A: in part a) year_2014 = world_data['year'] == 2014
part b) year_2014_subset = world_data[year_2014]
shape is 39201 rows × 14 columns
Is this question missing an instruction about slicing out rows where life expectancy > 83?
The text was updated successfully, but these errors were encountered: