
Learn how to and when to use the diverging palette in Seaborn. The light and dark palettes are monochromatic in that they only have one color, when highlighting both positive and negative correlations it is better to use the diverging palette that will highlight how positive and how negative values are.
Follow Data Science Teacher Brandyn
dataGroups:

Use Seaborn's heatmap with Pandas's .corr function to plot the linear correlations in your data while using Seaborn's diverging palette to contrast positive and negative relationships.

Put the diverging palette through a loop in Python to find out which integer gives you the color palette you desire.

Comments