Created
January 22, 2019 18:39
-
-
Save eeddaann/3ebd73f1d1b87f6c5190285e5c2bd925 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Create dummy Data Frame | |
df = pd.DataFrame({ | |
'A': [1,2,-3], | |
'B': [2,-4,6], | |
'C': [3,5,-7] | |
}) | |
print(df.corr().unstack().sort_values().drop_duplicates()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment