data_profile
Analyze data structure: columns, types, unique counts, nulls, samples, and numeric stats (min, max, mean, median) to guide chart creation and transformations.
Instructions
Understand data structure BEFORE creating charts or transforming.
Returns column names, types, unique counts, null counts, sample values. For numeric columns: min, max, mean, median.
ALWAYS use after get_resource_data() and before create_chart() to choose correct columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts from get_resource_data() | |
| sample_size | No | Sample values per column (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||