Monte Carlo Simulation, Quantitative Finance, Python, Data Science, Data Visualization.
number_of_simulations): simulation = pd.concat([simulation, pd.DataFrame(coins[:,i] * spy['returns'] - trading_costs).cumsum()], axis = 1) This gives us a new dataframe with 1,259 rows and 10,000 columns, where each column represents a single simulation, which in this case, we can refer to them as