Advanced Python
Projects, Pandas Part II
9.1 | Analyze COVID-19 Infection Rates or U.S. Population Rates by County over Time. |
Jupyter Notebooks: covid_analysis_event.ipynb Data File: covid_event.csv The notebook of 15 questions takes you through various types of analysis of reports of cases in the states and counties of the U.S. The Project Discussion document can offer many useful hints on which features and parameter arguments to use. |
|
Option 2: US Population Create a new Jupyter Notebook and look to building the following charts:
|
|
Data File: county_population.csv You may want to examine the data using Excel or another spreadsheet program; you may also need to use .isna().any() and .isna().all() to check to see where empty fields may exist, and .fillna() to fill empty cells or .dropna() to remove rows with empty cells where needed. Original URLs for data: https://data.nber.org/census/popest/county_population.csv (please note that after downloading, this file should be opened with the latin-1 character set, i.e. df = pd.read_csv('county_population.csv', encoding='latin-1')) |