title: Python: 'StandardScaler' object has no attribute '_validate_data'
body: <p>I recently updated my sklearn. However, since the upgrade I'm getting the error &quot;'StandardScaler' object has no attribute '_validate_data'&quot;. The following is a snippet of the code:</p>
  <pre><code>Xs = pd.DataFrame([[10,20], [20,30], [30,40], [40,50]])
  scalerx = preprocessing.StandardScaler()
  scalerx.fit(Xs)
  </code></pre>