Displaying pair plot in Pandas data frame

后端 未结 5 895
梦如初夏
梦如初夏 2021-02-07 06:19

I am trying to display a pair plot by creating from scatter_matrix in pandas dataframe. This is how the pair plot is created:

# Create dataframe from data in X_t         


        
5条回答
  •  野性不改
    2021-02-07 07:15

    This is also possible using seaborn:

    import seaborn as sns
    
    df = sns.load_dataset("iris")
    sns.pairplot(df, hue="species")
    

提交回复
热议问题