Accommodating different row format for timeseries.