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")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"columns": "<columns>"
},
"name": "normalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | minmax | |
| columns | Yes | ||
| df_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |