Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
efficient frontier of consumer defensive assets

in my attempt to code the portfolio standard deviation i seem to have encountered a alignment error... the covariance matrix of 212 assets computes as a 51x51 matrix. can someone please help . why is the covariance matrix of dimension 51x51?