top of page

Cities and demography in USA (Python, Pandas…)

  • felixcvk
  • Jan 10, 2023
  • 1 min read

Updated: Jan 31

We will conduct an analysis similar to « Cities and demography in Europe », but this time focusing on the United States. This can be extremely beneficial for a company aiming to more effectively target where to concentrate their advertising efforts based on the audience for their products or services.



For this project you can also look at the code in detail on GitHub here


It took me a bit of research to find similar dataset to the one from Europe.

Database link here.


We are going to see step-by-step how to do data cleaning and Exploratory Data Analysis we only using Python (Pandas, orderby, groupby, seaborn, matplolib…etc).


We will be able to find answer to the following questions:

-Which cities are the most populated

-How do the the male/female ratio change between cities

-What cities have the highest/lowest percentage of people between 20 and 24 years old and then over 65 years old

-We will then see if there are any differences between small, medium and big cities





bottom of page