Fill Missing Mode
fill_missing_modeFill missing categorical values with the column’s most frequent value, optionally targeting one column or processing all category columns.
Instructions
Replace missing category (text) values with the most frequent value of the column. Args: dataset_id (str): ID of the dataset. col_name (str, optional): Only this column is filled. If omitted, all category columns are processed. Returns: dict: how many values were filled in each column (columns with no values at all are skipped).
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_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_name | No | ||
| dataset_id | Yes |