Skip to main content
Glama

query_dataframe

Filter and extract specific data from pandas dataframes using query strings to analyze datasets and answer data questions.

Instructions

Run a pandas query on a dataframe and return results.

This is a convenience method for simple queries. For complex analysis, use execute_code() instead.

Args: name: Name of the dataframe to query query: Pandas query string (e.g., "column > 100" or "city == 'Delhi'")

Returns: Filtered dataframe results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
queryYes

Latest Blog Posts

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/nipunbatra/vayuchat-mcp'

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