title: Python DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19
body: <p>Based on my previous question <a href="https://stackoverflow.com/questions/43458593/python-pandas-standardize-column-for-regression">python pandas standardize column for regression</a> I am rescaling specific columns in my dataframe to be between 0 and 1. </p>
  
  <pre><code>scaler = preprocessing.MinMaxScaler(feature_range=(0,1))
  email['scaled_quantity'] = scaler.fit_transform(email['Quantity'])
  </code></pre>
  
  <p>Unfortunately, I get this error</p>
  
  <pre><code>DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.
    warnings.warn(DEPRECATION_MSG_1D, DeprecationWarning)
  </code></pre>
  
  <p>@Grr proposed that I apply the scaling to the whole dataframe, but that is not an option. I need to maintain the columns the way they are and only want to add new additional scaled columns. </p>
  
  <p>How can I address this depreciation error?</p>