Analyze the gender distribution of children's book writers and use sound to match names to gender
The same name can be spelled out in a many ways (for example, Marc and Mark, or Elizabeth and Elisabeth). Sound can, therefore, be a better way to match names than spelling. In this project, we will use the Python package Fuzzy to find out the genders of authors that have appeared in the New York Times Best Seller list for Children's Picture books.
First, using fuzzy (sound) name matching, we will search for author names in a dataset provided by the US Social Security Administration that contains names and genders of all individuals who have applied for Social Security Cards. Next, we'll aggregate the author dataset by including gender. Finally, we will use the new dataset to plot the gender distribution of children's picturebooks authors over time.
To complete this project, we should be familiar with pandas DataFrames, NumPy for basic statistics, and Matplotlib for plotting.
Import the fuzzy library and checking its working
Load the Datasets and storing the author first names
Create fuzzy equivalent for the first names
Load the baby names dataset and their genders
Determining gender of authors by name sounds
Determining number of respective genders of authors per year
Checking number of authors names were not matched.
Comparing the authors as number of male or female vs. year - bar chart