Provide timeseries.py impl and doc