phantominsights / baby-names-analysis Goto Github PK
View Code? Open in Web Editor NEWData ETL & Analysis on the dataset 'Baby Names from Social Security Card Applications - National Data'.
License: MIT License
Data ETL & Analysis on the dataset 'Baby Names from Social Security Card Applications - National Data'.
License: MIT License
Apparently in lines
#Step by step approad, the one-liners can be found below their respective tables
df=df[df["gender"]=="M"]
df=df[["name","count"]]
df=df.groupby("name")
df=df.sum()
df=df.sort_values("count",ascending=False)
df.head(10)
Error is coming after running it second time.
Also, the one-liner is also not running.
This is the first time I have raised issue in Github
both_df.idxmax()["count"])
both_df.idxmax()["count"]
Social security started in 1935. That means those born in 1880 self-reported their names at 55 years old. This makes the database tremendously biased towards those rich enough to survive to 55 years old. It is also tremendously sex-biased, as only widows of professionals were eligibile at first. Working black women were not eligibile for social security until the 1960s.
None of this is your fault, it is the Social Security Administration's fault for calling this dataset a "baby names dataset", when the first babies were rich babies born in 1935. Of course, a little investigating on your part would show many, many anomalies in the data until about the 1970s. Look at the ratio of male to female "babies" over time; it's pretty constant for human births.
Context: CGPGrey's Tiffany video and Name Explain demonstrated that spelling variations can fuzz the data trends of names. the data can be cleaned such that this can be fixed.
Example of Phonetic Algorithm (tools to reduce names into a phonetic hash):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.