fit_transform python code example Example: fit(X).transform(X.astype(float) fit(X).transform(X.astype(float)