Skip to main content
Glama

sample_dataframe

Extract sample rows from a dataframe for data exploration and analysis. Specify the number of rows and choose between random or sequential sampling to examine dataset structure.

Instructions

Get a sample of rows from a dataframe.

Args: name: Name of the dataframe n: Number of rows to return (default: 10) random: If True, return random sample. If False, return first n rows.

Returns: Sample rows from the dataframe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
nNo
randomNo

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