📜  seaborn 创建相关矩阵 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:53.065000             🧑  作者: Mango

代码示例1
import seaborn as sns
%matplotlib inline

# calculate the correlation matrix
corr = auto_df.corr()

# plot the heatmap
sns.heatmap(corr, 
        xticklabels=corr.columns,
        yticklabels=corr.columns)