Fill Missing Mean
fill_missing_meanReplace missing numerical values with the column mean to clean datasets; process one specified column or fill all numerical columns and return counts of filled values.
Instructions
Replace missing numerical values with the column mean. 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_mean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_name | No | ||
| dataset_id | Yes |