Small gem for working with timeseries data