I have one set of values measured at regular times. Say:
import pandas as pd import numpy as np rng = pd.date_range(\'2013-01-01\', periods=12, freq=\'H\') data
Here's a clean one liner:
ts = np.interp( ts_rng.asi8 ,data.index.asi8, data[0] )