Data Visualization — matplotlib/Seaborn

Yusif Morsy
Oct 21, 2020

--

Import

Import the required libraries

Understanding the business problem

Determine what findings are you trying to present. Are you using numerical values or categorical values.

Load the dataset

The sorce from data.gov https://catalog.data.gov/dataset/most-popular-baby-names-by-sex-and-mothers-ethnic-group-new-york-city-8c742

Basic information about our dataset’s structure

Count the Gender

plotting the attribute Gender

Size of an attribute

Display only the headers of the dataset

Display the total count from index

Display the first (5) records

Display the last (5) records

Grouping and size

Check the NaN Files

Plot the multi-indexed

Unstack Method

The total of multi-indexed in Grouping

Historical Trends

Historical Trends Improvements

Plot the top 20 names

Gender per Specific category

CUMSUM

Heatmap

The average Rank graph

The exact number of Rank average

Graph the Rank

Boxplot The Rank

Violinplot

Statistics about the date

Please add your comments or send an email to the author at yamors01@louisville.edu. See you next Article.

--

--

Yusif Morsy
Yusif Morsy

Written by Yusif Morsy

MBA, MSBA, PhD Student in ML & AI

No responses yet