Skip to content
Advertisement

Return highest correlation values pandas

I have this function

JavaScript

This is the output

JavaScript

How can return the highest correlation values that are lower than 1?

That is, I want to remove the 1s that appear on the top when I use sort_values(ascending=False)

Advertisement

Answer

Multiindex Series from the Pandas User Guide

JavaScript

Filter for values less than one.

JavaScript

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