demo_stat_corr_matrix.py:
import pandas as pd import matplotlib.pyplot as plt import seaborn as sns full_health_data = pd.read_csv("dataset.csv", header=0, sep=",") correlation_full_health = full_health_data.corr() axis_corr = sns.heatmap( correlation_full_health, vmin=-1, vmax=1, center=0, cmap=sns.diverging_palette(50, 500, n=500), square=True ) plt.show()
C:\Users\My Name>python demo_stat_corr_matrix.py