I want to split dataset into train and test data. But I want to split that as rows. For example: I have a dataset of 100 rows. For splitting, I want to train first 90 rows and next 10 rows for test data. How can I be able to do that in Python? I want to do it for prediction in a regression type dataset.