Seaborn and MatPlotLib Flashcards
Commands and formatting for Seaborn and MatPlotLib functions and calls.
1
Q
Format a correlation matrix
A
DataFrame[[‘col1’, ‘col2’, …]].corr(numeric_only=True)
2
Q
What does a Boxplot tell you?
A
Identifies the Statistical 5, Min, Max, Quartiles and Outliers.
3
Q
What does KDE stand for?
A
Kernal Density …
4
Q
What does IQR stand for?
A
Inter-Quartile Range
5
Q
Calculate the whiskers in a numerical column
A
Min whisker = Q1-1.5IQR
Max whisker = Q3+1.5IQR
6
Q
What are the 3 missing value types and their acronyms?
A
Missing Completely at Random (MCAR)
Missing at Random (MAR)
Missing Not at Random (MNAR)
7
Q
Format a Joint Plot and identify what it’s best used for.
A
sns.jointplot(data=DataFrame, vals=list_columns)