compare_weekday_weekend
Analyze how metrics differ between weekdays and weekends to identify patterns in time-based data.
Instructions
Compare weekday vs weekend values for a metric.
Args: value_column: Column to compare (e.g., 'PM2.5', 'PM10') group_by: Optional grouping column (e.g., 'city') table: Table name (default: air_quality)
Returns: Comparison statistics.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value_column | Yes | ||
| group_by | No | ||
| table | No | air_quality |