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
# Python 3 code | |
import matplotlib.pyplot as mpl | |
import scipy.cluster.hierarchy as sch,random | |
import numpy as np | |
import pandas as pd | |
# Now, take corMat and covMat generated from R, input into Marcos' Python, and check output is the same... | |
col_list = ["IGV.Close", "TLT.Close", "IAU.Close", "IYR.Close"] | |
corr = pd.read_csv("corMat_23072021.csv", usecols=col_list) |
OlderNewer