I recently updated my sklearn. However, since the upgrade I'm getting the error "'StandardScaler' object has no attribute '_validate_data'". The following is a snippet of the code:
Xs = pd.DataFrame([[10,20], [20,30], [30,40], [40,50]])
scalerx = preprocessing.StandardScaler()
scalerx.fit(Xs)