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?
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?