Fixing bugs in sci.time_series.data