Created
August 20, 2019 11:49
-
-
Save arjay55/91f42768d88bd5dae7d2a25f3febbdb4 to your computer and use it in GitHub Desktop.
Correl1
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
dfcorr = dfrel.corr() | |
heatmap(dfrel.corr()) |
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
dftemp00 = dfcorr.loc[:'mutual_unit'].abs() | |
sumvars = dftemp00.apply(sum, axis=1) | |
dftemp00/sumvars.values[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment