Plot correlation matrix using pandas

前端 未结 12 723
渐次进展
渐次进展 2020-11-30 16:23

I have a data set with huge number of features, so analysing the correlation matrix has become very difficult. I want to plot a correlation matrix which we get using d

12条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 16:58

    For completeness, the simplest solution i know with seaborn as of late 2019, if one is using Jupyter:

    import seaborn as sns
    sns.heatmap(dataframe.corr())
    

提交回复
热议问题