title: Running Model: ValueError: Wrong number of items passed 2, placement implies 1
body: <p>I work on a logistic regression model and I get the error when I try to predict which customers will take out a loan. The error is:</p>
  <p><code>ValueError: X has 14 features per sample; expecting 13.</code></p>
  <p>However, when I run <code>X_val.shape</code>, it shows 13 features.
  When I test the test, I have 14 columns, and the one column that isn't in X, is <code>Customer ID</code>.</p>
  <p>So I dropped <code>Customer ID</code>. But now I get a message that says:</p>
  <p><code>ValueError: Wrong number of items passed 2, placement implies 1</code></p>
  <p>Do you have any ideas?</p>
  <p>Here is my code:</p>
  <pre><code>
  ##Test Initial Regression Model
  predictions = model.predict_proba(X_val)
  
  
  test_predictions = model.predict_proba(test)
                                  
  test[&quot;predictions&quot;] = test_predictions
  
  test.to_csv(r'/WinterLCLlist_SmallerLogReg.csv')
  </code></pre>