When to use fit, transform and fit_transform ?
fit() is used to
"train model" - it means to calculate parameters for transformation.
Only after training model you can
If you want then you can do both things in one step using
So all depends on you if you need
other calculations +
transform() or at once