Sample(采样(Sample))¶
Sample is used to resample an existing series at a constant frequency. This can be used in two primary scenarios:
- Data is coming in at a constant rate (such as daily), but some days no data was recorded. Rather than having gaps in the data, you can use Sample to resample at a daily rate to produce a complete series.
- Data is coming in at a constant rate (such as daily), but you would like a series that has data at a different rate (such as hourly or weekly).
Sample calculates its new points by using interpolation between the existing data.
Input type¶
Time series
Output type¶
Time series
Example¶

Usage information¶
| Functionality | Availability |
|---|---|
| Standard Quiver card | Supported |
| Transform table transform | Supported |
中文翻译¶
采样(Sample)¶
采样(Sample)用于以恒定频率对现有时间序列进行重采样。该功能主要适用于以下两种场景:
- 数据以恒定频率(如每日)录入,但某些日期没有记录数据。与其在数据中留下空缺,不如使用采样(Sample)以每日频率进行重采样,从而生成完整的时间序列。
- 数据以恒定频率(如每日)录入,但您希望获得不同频率(如每小时或每周)的数据序列。
采样(Sample)通过现有数据之间的插值(interpolation)来计算新数据点。
输入类型¶
时间序列(Time series)
输出类型¶
时间序列(Time series)
示例¶

使用信息¶
| 功能 | 可用性 |
|---|---|
| 标准 Quiver 卡片 | 支持 |
| 转换表转换 | 支持 |