Comprehensive guide to using scikit-learn's train_test_split function. Learn key parameters like stratify and random_state, avoid data leakage pitfalls, and master splitting techniques for time series and imbalanced data with practical code examples.