Fit and transform data in one step
fit_transform.RdConvenience function that fits a preprocessing pipeline to data and
immediately applies the transformation. This is equivalent to calling
fit() followed by transform() but is more efficient and convenient.
Value
A list with two elements: preproc (the fitted preprocessor) and transformed (the transformed data)