All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Rename both series with the names specified below, given their variables:
age_marriage: should be named "Age of First Marriage"
sp500: should be named "S&P500 Returns 90s"
What's the maximum value in
Enter a whole number (an integer).
Enter the value with up 2 decimals of precision. Example, if the value is
-11.8718, enter only
21 is the most common age for marriage (you can check that using the
.mode() method). How many women married at that age?
That is, a return greater than
Perform a selection of all the values in
age_marriage that are below
20 or above
39. Store your results in the variable
Perform a selection of all the values that are greater than
30 and even. Store your result in the variable
Select all the S&P500 returns that are greater than
1.5 and lower than
3. Store your results in the variable