Congratulations!

Analyzing US Census Data in Python

Lee Hachadoorian

Asst. Professor of Instruction, Temple University

Decennial Census of Population and Housing

  • Full count conducted every 10 years
  • Covers core demographic topics
  • Available for smallest geographies

American Community Survey

  • Annual survey of 1.5% of households
  • Covers a wide range of social and economic topics
  • Available for 1-year and 5-year averages
  • Pay attention to Margins of Error
  • Limited availability for smallest geographies
Analyzing US Census Data in Python

Census Topics

Some topics we covered

  • Race
  • Hispanic Origin
  • Employment and Labor Force
  • Commuting
  • Migration
  • Home Value/Rent
  • Health Insurance
  • Computer/Internet Access

Some topics not covered

  • Disability Status
  • Veteran Status
  • Industry and Occupation
  • Poverty
  • School Enrollment
  • Grandparents as Caregivers
  • Marital Status
  • Language Spoken at Home
Analyzing US Census Data in Python

pandas

  • Data aggregation with groupby()
  • Joining data with merge()
  • Tidy data: pivot() and melt()
Analyzing US Census Data in Python

seaborn

Thumbnail of a barplot constructed earlier in the course. Thumbnail of a heatmap constructed earlier in the course.

Analyzing US Census Data in Python

geopandas

Choropleth map of the contiguous United States constructed earlier in the course.

Analyzing US Census Data in Python

Have fun exploring the Census!

Analyzing US Census Data in Python

Preparing Video For Download...