How it works...

The .corr(...) method takes two parameters, the names of the two features you want to calculate the correlation coefficient between. 

Currently, only the Pearson correlation coefficient is available.

The preceding command will produce a correlation coefficient equal to 0.938 for our dataset.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset