![可视化数据制作时间序列](https://i-blog.csdnimg.cn/blog_migrate/4e8c37507893217c0e41ddda8052a400.png)
可视化数据制作时间序列
时间序列-数据处理和可视化 (Time Series - Data Processing and Visualization)
Time Series is a sequence of observations indexed in equi-spaced time intervals. Hence, the order and continuity should be maintained in any time series.
时间序列是按等距时间间隔索引的观察序列。 因此,应该在任何时间序列中保持顺序和连续性。
The dataset we will be using is a multi-variate time series having hourly data for approximately one year, for air quality in a significantly polluted Italian city. The dataset can be downloaded from the link given below − https://archive.ics.uci.edu/ml/datasets/air+quality.
我们将使用的数据集是一个多变量时间序列,其中包含大约一年的每小时数据,用于一个污染严重的意大利城市的空气质量。 可以从下面给出的链接中下载数据集-https: //archive.ics.uci.edu/ml/datasets/air+quality 。
It is necessary to make sure that −
有必要确保-
The time series is equally spaced, and
时间序列等距分布,并且
There are no redundant values or gaps in it.
没有多余的值或空白。
In case the time series is not continuous, we can upsample or downsample it.
如果时间序列不是连续的,我们可以对其进行上采样或下采样。