Implemented TimeSeries data type