title: what is the differene between Stratify and StratifiedKFold in python scikit learn?
body: <p>My data consists of 99% target variable = 1, and 1% target variable = '0'. Does stratify guarantee that the train tests and test sets have equal ratio of data in terms of target variable. As in containts, equal amounts of '1' and '0'?</p>
  
  <p>Please see below code for clarification </p>
  
  <pre><code> X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2,stratify=y,random_state=42)
  </code></pre>