Fill Missing Median
fill_missing_medianReplace missing numerical values with column medians to handle gaps in datasets; optionally target one column or all numerical columns and return fill counts.
Instructions
Replace missing numerical values with the column median. Args: dataset_id (str): ID of the dataset. col_name (str, optional): Only this column is filled. If omitted, all numerical columns are processed. Returns: dict: how many values were filled in each column.
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": {
"dataset_id": "<dataset_id>"
},
"name": "fill_missing_median"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_name | No | ||
| dataset_id | Yes |