September 2017
Beginner to intermediate
304 pages
7h 2m
English
There are purpose-built systems to store and work with time series data. Some of these are even written in Go, including Prometheus and InfluxDB. However, some of the tooling that we have already utilized in the book is also suitable to handle time series. Specifically, github.com/kniren/gota/dataframe, gonum.org/v1/gonum/floats, and gonum.org/v1/gonum/mat can help us as we are working with time series data.
Take, for example, a dataset that includes a time series representing the number of international air passengers during the years 1949-1960 (available for download at https://raw.github.com/vincentarelbundock/Rdatasets/master/csv/datasets/AirPassengers.csv):
$ head AirPassengers.csv time,AirPassengers ...
Read now
Unlock full access