I came across the following statement when trying to find the differnce between train_test_split and StratifiedShuffleSplit.
When
stratifyis not None train_test_split usesStratifiedShuffleSplitinternally,
I was just wondering why the StratifiedShuffleSplit from sklearn.model_selection is used when we can use the stratify argument available in train_test_split.