inspect_data_around
Analyze data patterns and relationships around specific coordinates for validation, error investigation, and contextual understanding in CSV datasets.
Instructions
Inspect data around a specific coordinate for contextual analysis.
Examines the data surrounding a specific cell to understand context, patterns, and relationships. Useful for data validation, error investigation, and understanding local data patterns.
Returns: Contextual view of data around the specified coordinates
Inspection Features: 📍 Center Point: Specified cell as reference point 🔍 Radius View: Configurable area around center cell 📊 Data Context: Surrounding values for pattern analysis 🎯 Coordinates: Clear row/column reference system
Examples: # Inspect around a specific data point context = await inspect_data_around(ctx, row=50, column_name="price", radius=3)
# Minimal context view
context = await inspect_data_around(ctx, row=10,
column_name="status", radius=1)AI Workflow Integration: 1. Error investigation and data quality assessment 2. Pattern recognition in local data areas 3. Understanding data relationships and context 4. Validation of data transformations and corrections
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Row index to center the inspection (0-based) | |
| column_name | Yes | Name of the column to center on | |
| radius | No | Number of rows/columns to include around center point |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | Yes | ||
| success | No | Whether operation completed successfully | |
| surrounding_data | Yes | ||
| center_coordinates | Yes |