jmie087

Results 2 comments of jmie087

Thanks for the comment! To explain TypeError problem in detail, what I meant was that `ef = EfficientFrontier(ret, psd_wrap(cov), solver = cp.OSQP).efficient_return(0.14)` caused the `TypeError: cov_matrix is not a dataframe...

psd_wrap([[ 2.38725125e-02 2.49539523e-02 -2.25322677e-03 4.47205400e-03 6.74793082e-03 7.94803963e-03 6.37375483e-03 9.48619495e-03 8.69645386e-03 1.10628570e-03 2.16700391e-02 1.52893402e-04 1.19606609e-02 -1.86169182e-02 -5.32265814e-03 1.09739526e-02 9.87768619e-03 2.65777132e-02 2.82700514e-02 9.10025364e-04 1.08784748e-02 2.04140632e-02 1.35439395e-02 5.10712957e-03 -5.02802185e-03 5.01168599e-03 8.94280259e-03 5.27941293e-03 1.41027401e-02...