Skip to main content
Glama

remove_columns

Remove specified columns from a dataframe to clean data, reduce dataset size, or eliminate unnecessary variables for analysis.

Instructions

Remove columns from the dataframe.

Returns: ColumnOperationResult with removal details

Examples: # Remove single column remove_columns(ctx, ["temp_column"])

# Remove multiple columns remove_columns(ctx, ["col1", "col2", "col3"]) # Clean up after analysis remove_columns(ctx, ["_temp", "_backup", "old_value"])

Input Schema

NameRequiredDescriptionDefault
columnsYesList of column names to remove from the dataframe

Input Schema (JSON Schema)

{ "properties": { "columns": { "description": "List of column names to remove from the dataframe", "items": { "type": "string" }, "type": "array" } }, "required": [ "columns" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonpspri/databeak'

If you have feedback or need assistance with the MCP directory API, please join our Discord server