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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a Boxplot tell you?

A

Identifies the Statistical 5, Min, Max, Quartiles and Outliers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does KDE stand for?

A

Kernal Density …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does IQR stand for?

A

Inter-Quartile Range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Calculate the whiskers in a numerical column

A

Min whisker = Q1-1.5IQR
Max whisker = Q3+1.5
IQR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Format a Joint Plot and identify what it’s best used for.

A

sns.jointplot(data=DataFrame, vals=list_columns)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly