Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #calculate correlation matrix using inbuilt pandas function
  2. correlation_matrix = log_returns_df.corr()
  3.  
  4. #show first five rows of the correlation matrix
  5. correlation_matrix.head()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement