pandas_optimize_memory
Reduce pandas DataFrame memory consumption by converting columns to optimal dtypes and detecting inefficiencies in your project. Pass a directory to scan and fix memory-heavy data structures.
Instructions
Optimize pandas memory usage
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": {
"directory": "<directory>"
},
"name": "pandas_optimize_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |