-
Book Overview & Buying
-
Table Of Contents
Exploratory Data Analysis with Python Cookbook
By :
Correlation measures the strength of the relationship between two numerical variables. The strength is usually within a range of -1 and +1. -1 is a perfect negative linear correlation, while +1 is a perfect positive linear correlation, and 0 means no correlation. Correlation uncovers hidden patterns and insights in our dataset. In the case of a positive correlation, when one variable increases, the other also increases, and in the case of a negative correlation, when one variable increases, the other decreases.
In addition, a high correlation (a high correlation value) means there is a strong relationship between the two variables, while a low correlation means there is a weak relationship between the variables. It is important to note that correlation doesn’t mean causation.
In this recipe, we will explore how to create correlation heatmaps in seaborn. The heatmap method in seaborn can be used for this.