PYTHON CODING
- waclaw_koscielniak

- Oct 22
- 1 min read
from sklearn.preprocessing import MinMaxScaler
import numpy as np
scaler = MinMaxScaler()
data = np.array([[2], [4]])
print(scaler.fit_transform(data)[0][0])
[Running] python3 -u "/Users/name/test/test947.py"
0.0
[Done] exited with code=0 in 1.531 seconds
#Python #PythonCoding #VSC


Did it work?