Skip to content
Advertisement

how to specify data on pearson correlation heatmap?

I have a pearson correlation heat map coded, but its showing data from my dataframe which i dont need.

is there a way to specify which columns i’d like to include?

thanks in advance

pearson correlation heatmap

JavaScript
JavaScript

Advertisement

Answer

You can filter the dataframe before calculating correlation

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