I used Python to predict index prices over the next decade. Here’s how you can predict the future too.