获取您自己的
Python
服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
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()