title: Found input variables with inconsistent numbers of samples: [489, 1890] KNeighborsClassifier.fit()
body: <p>Just trying to do a simple nearest neighbors classification but I'm baffled by this error for:</p>
  
  <pre><code>neigh = KNeighborsClassifier(n_neighbors=3)
  neigh.fit(X_train, y_train)
  </code></pre>
  
  <p>which produces:</p>
  
  <pre class="lang-none prettyprint-override"><code>ValueError: Found input variables with inconsistent numbers of samples: [489, 1890]
  </code></pre>
  
  <p>Anyone explain it that what i am missing?</p>