open_in_new
content_copy
Obs = 20 sc = StandardScaler() df['Price'] = sc.fit_transform(df['Price'].reshape(-1, 1))