fill_missing
Fill missing values using strategies such as literal, mean, median, mode, forward-fill, or backward-fill. Select the appropriate strategy based on data distribution to resolve nulls.
Instructions
Fill missing values. Strategies: 'value' (literal), 'mean', 'median', 'mode', 'ffill', 'bfill'. columns: which columns to fill (None = all columns with nulls). Choose strategy based on distribution: 'median' for skewed numeric, 'mean' for normal, 'mode' for categorical. 'ffill'/'bfill' only for time-series. Example: fill_missing(columns=["Revenue"], strategy="median")
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fill_missing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| columns | No | ||
| df_name | No | ||
| strategy | No | value |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |