Labelled Correlation Heatmap Using Seaborn
Python
Display a labelled heatmap showing the correlation values between the numerical columns in the Data DataFrame on a 10 x 8 plot.
1| import matplotlib.pyplot as plt 2| import seaborn as sns 3| 4| plt.figure(figsize=(10,8)) 5| sns.heatmap(df.corr(),annot=True)
145
130
124
117