title: How to split data by using train_test_split in Python Numpy into train, test and validation data set? The split should not random
body: <p>I want to split data category wise into train, test and validation set. For example: if we have 3 categories positive, negative and neutral in the dataset. The positive category split into train, test, and validation. And the same with the other two categories. The splitting ratio is 80% of the data is for training and 20% for testing. From 80% of the training data, split 10% for the validation data. But the most important the split data should not random.</p>