I just changed my tickers and it shows: ValueError: shapes (25,25) and (15,) not aligned: 25 (dim 1) != 15 (dim 0)

前端 未结 0 1168
-上瘾入骨i
-上瘾入骨i 2021-02-14 07:32

port_variance = np.dot(weights.T, np.dot(cov_matrix_annual, weights)) print(port_variance)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题