Kizspy Question: 8
(Choose 1 answer)
Consider the following code:
import pandas as pd
from sklearn.preprocessing import MinMaxScaler
# Sample DataFrame
data
{'Feature1': [10, 20, 30, 40, 50]}
df pd.DataFrame(data)
# Standardizing the 'Feature1' column
scaler MinMaxScaler ()
df['Standardized Feature1'] = scaler.fit_transform (df[[Feature1']])
print(df.loc[2, 'Standardized_Feature1'])
What is the output?
A. 0.5
B. O
C. 1
D. 0.7