Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created August 24, 2021 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/1d0a550f434de30831c645a2a2213832 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/1d0a550f434de30831c645a2a2213832 to your computer and use it in GitHub Desktop.
Calculate Correlation
####################################################
## 1. Calculate correlation between Xs and Y
df.corr()
####################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment