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
Copy file name to clipboardExpand all lines: projects/analyze-us-census-data-with-scipy/analyze-us-census-data-with-scipy.mdx
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ tags:
41
41
42
42
No matter where you are on your journey to mastering data science, it's always helpful to practice the basics of finding, cleaning, and analyzing real-world datasets. Back in 2020, COVID-19 sent us many of us into quarantine and while its long-term impact is still relatively unknown, we can reference a handful of public datasets to begin to scratch the surface.
43
43
44
-
In this tutorial, we'll be analyzing a dataset gathered from the 2022 [U.S. Census](https://data.census.gov/) covering geographic relocation roughly two years after quarantine.
44
+
In this project tutorial, we'll be analyzing a dataset gathered from the 2022 [U.S. Census](https://data.census.gov/) covering geographic relocation roughly two years after quarantine.
45
45
46
46
<RoundedImage
47
47
link="https://i.imgur.com/QSycenX.gif"
@@ -52,7 +52,7 @@ We will begin to test our assumptions and answer some basic questions about vari
52
52
53
53
- Is there a difference in mobility patterns between those that moved within their home state versus across states lines in New York and California in particular?
54
54
- And do trends vary amongst citizenship status?
55
-
- Is there a difference in those same patterns amongst educational status between the Northeast (New Jersey, Pennsylvania, Rhode Island, Vermont, etc.) and the South (Georgia, Maryland, Virginia, D.C., etc.)?
55
+
- Is there a difference in those same patterns amongst educational status between the Northeast (New Jersey, Pennsylvania, Rhode Island, Vermont, etc.) and the South (Georgia, Maryland, Virginia, etc.)?
56
56
- What about marital status across conservative divisions like the South Atlantic (Washington D.C., Georgia, Florida, North Carolina, etc.) and the Mountain States (Colorado, Wyoming, Nevada, Arizona, etc.)? Do we notice a difference in geographic mobility there as well?
57
57
58
58
## Cleaning Raw Data
@@ -88,19 +88,13 @@ For the categories listed, each dataset contains the following columns, which ar
88
88
89
89
### Geographical Data
90
90
91
-
Geography ID: a unique identifier used to reference specific geographic areas
92
-
93
-
Census Tract: a small, relatively permanent subdivision of a county
94
-
95
-
State: the state in which the Census Tract is located
96
-
97
-
County: the county within the state in which the Census Tract resides
98
-
99
-
Region: the broader geographic area in which the state or county is located, typically referring to one of four major regions: Northeast, Midwest, South, or West
100
-
101
-
Division: a sub-region within a Census Bureau-defined region, used for more detailed geographic analysis
102
-
103
-
Total Population: the total number of people residing in a specific Census Tract
91
+
- Geography ID: a unique identifier used to reference specific geographic areas
92
+
- Census Tract: a small, relatively permanent subdivision of a county
93
+
- State: the state in which the Census Tract is located
94
+
- County: the county within the state in which the Census Tract resides
95
+
- Region: the broader geographic area in which the state or county is located, typically referring to one of four major regions: Northeast, Midwest, South, or West
96
+
- Division: a sub-region within a Census Bureau-defined region, used for more detailed geographic analysis
97
+
- Total Population: the total number of people residing in a specific Census Tract
0 commit comments