resample
Convert time series to regular intervals using a pandas offset alias. Aggregate data with mean, sum, min, max, median, or count.
Instructions
Resample onto a regular grid; registers and returns a NEW derived series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agg | No | Aggregation. | mean |
| rule | Yes | Pandas offset alias, e.g. '5min', '1h', '1D'. | |
| series_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ISO-8601 timestamp of the last observation. | |
| name | Yes | ||
| start | Yes | ISO-8601 timestamp of the first observation. | |
| stats | Yes | Five-number-style summary of the values in a series. | |
| source | Yes | Where the series came from: csv path, inline, sample, or a derivation. | |
| n_points | Yes | ||
| series_id | Yes | ||
| inferred_freq | Yes | Pandas frequency string inferred from the index, e.g. '5min'; null if irregular. |