normalize
Scale numeric columns in-place using minmax, standard, or robust methods to prepare data for distance-based models.
Instructions
Scale numeric columns in-place. Methods: 'minmax' (0-1), 'standard' (z-score), 'robust' (IQR-based). Only needed for distance-based models (linear, logistic). Tree-based models do NOT need normalization. Use 'standard' by default, 'robust' if outliers remain. Example: normalize(columns=["Revenue","Weight"], method="standard")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | minmax | |
| columns | Yes | ||
| df_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |