I have dataframe training_x like this:
>>> print(training_x)
Pregnancies Glucose BloodPressure
762 9 89 62
127 1 118 58
564 0 91 80
375 12 140 82
663 9 145 80
.. ... ... ...
763 10 101 76
192 7 159 66
629 4 94 65
559 11 85 74
684 5 136 82
[576 rows x 3 columns]
When I run the following code on training_x dataframe to do StandardScale its values with below code:
from sklearn.preprocessing import StandardScaler
s_c = StandardScaler(with_mean=False)
testing_x = s_c.fit_transform(training_x)
test_x = s_c.transform(testing_x, dt)
I get below exception at the step when doing fit_transform
'NoneType' object is not callable
I don't know what is the issue, the dataframe doesn't had any none or empty values.