title: difference in using sklearn.utils.resample with stratify and without stratify
body: <p>What is difference in using sklearn.utils.resample with stratify and without stratify?</p>
  
  <p><a href="https://scikit-learn.org/stable/modules/generated/sklearn.utils.resample.html" rel="nofollow noreferrer">https://scikit-learn.org/stable/modules/generated/sklearn.utils.resample.html</a></p>
  
  <pre><code>import numpy
  from sklearn.utils import resample
  
  
  y = [0, 0, 1, 1, 1, 1, 1, 1, 1]
  res = resample(y, n_samples=5, replace=False, random_state=0)
  print (res)
  [1, 1, 0, 1, 1]
  
  res = resample(y, n_samples=5, replace=False, stratify=y, random_state=0)
  print (res)
  
  [1, 1, 1, 0, 1]
  </code></pre>