Data Visualization Flashcards

1
Q

Lib needed for data visualization

A

Import matplotlib.pyplot as plt
Import seaborn as sns

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

How to draw histogram chart for all columns in pandas data frame?

A

For i in df.Columns
sns.histplot(data=df,x=i)

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

How to draw scatterplot chart for all columns in pandas data frame?

A

For i in df.Columns
sns.scatterplot(data=df,x=i)

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

How to draw correlation chart for all columns in pandas data frame?

A

sns.heatmap(df.corr(),annot=True)
plt.show()

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