compare_groups
Analyze statistical differences in a metric across categories like cities or product types. Compare values between groups to identify patterns and variations in your data.
Instructions
Compare a metric across different groups (e.g., cities, categories).
Args: name: Name of the dataframe value_column: Column containing values to compare group_column: Column containing groups (e.g., 'city', 'category') groups: Optional list of specific groups to compare. If None, uses all groups.
Returns: Statistical comparison across groups.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value_column | Yes | ||
| group_column | Yes | ||
| groups | No |