1
Take the us_contagious_diseases dataset from the dslabs library. filter() the dataset for the disease Smallpox in the state of Wisconsin. This should give you 25 rows.
2
Take the research_funding_rates dataset from the dslabs library. Use select() to print out the dataset with only the columns discipline, success_rates_men, and success_rates_women. The dataframe should look as below:
| Chemical sciences |
26.5 |
25.6 |
| Physical sciences |
19.3 |
23.1 |
| Physics |
26.9 |
22.2 |
| Humanities |
14.3 |
19.3 |
| Technical sciences |
15.9 |
21.0 |
| Interdisciplinary |
11.4 |
21.8 |
| Earth/life sciences |
24.4 |
14.3 |
| Social sciences |
15.3 |
11.5 |
| Medical sciences |
18.8 |
11.2 |