Skip to content
Advertisement

Show correlation values in pairplot using seaborn in python

I have the below data:

JavaScript

and I am doing a pairplot as below:

JavaScript

However I would like to display the correlation coefficient among the variables and if possible the skewness and kurtosis of each variable. How do you do that in seaborn?

Advertisement

Answer

As far as I’m aware, there is no out of the box function to do this, you’ll have to create your own:

JavaScript

Example using your input:

JavaScript

enter image description here

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement