trend_analysis
Analyze data trends over time by aggregating values from specified columns, grouping data by periods like daily, weekly, or monthly, and generating statistical insights for trend identification.
Instructions
Analyze trends over time.
Args: name: Name of the dataframe value_column: Column containing values to analyze date_column: Column containing dates (default: 'date') period: Aggregation period - 'daily', 'weekly', 'monthly' (default: 'daily') group_by: Optional column to group by
Returns: Trend analysis with statistics.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value_column | Yes | ||
| date_column | No | date | |
| period | No | daily | |
| group_by | No |