We are going to perform some numerical experiments. Specifically, we are going to use the portfolio optimization program developed in the previous post in order to study the effect of diversification.
http://tech.harbourfronts.com/modern-portfolio-theory-effect-of-diversification-on-the-optimal-portfolio-portfolio-management-in-python/