title: How to fix ValueError: Found array with 0 sample(s)
body: <p>I am really new to python trying to run a linear regression using sklearn, when I try to train the model:</p>
  
  <pre><code>regressIt.fit(X_train, Y_train)
  </code></pre>
  
  <p>It throws the following exception:</p>
  
  <pre><code>ValueError: Found array with 0 sample(s) (shape=(0, 546)) while a minimum of 1 is required.
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks in Advance.</p>