Update index.rst

I found a blog post on how to do this Train/Test split from the API and thought others might benefit from having it here.