copy_dataframe
Create a deep copy of a dataframe under a new name to preserve original data before destructive operations like dropping, filtering, or encoding.
Instructions
Create a deep copy of a dataframe under a new name. Use BEFORE any destructive operation (dropping, filtering, encoding) if you may need the original data later.
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": {
"source_name": "<source_name>",
"new_name": "<new_name>"
},
"name": "copy_dataframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| source_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |