from sklearn.preprocessing import StandardScaler
data['nomAmount'] = StandardScaler().fit_transform(data['Amount'].reshape(-1,1))
data = data.drop(['Time','Amount'],axis=1)
data.head()
AttributeError: 'Series' object has no attribute 'reshape'
麻烦问一问这是什么错误啊,纠结好久了