x = np.sin(np.arange(length)) * 10 + np.random.randn(length)
df = pd.DataFrame(data=x, index=pd.date_range(start=datetime(2015, 1, 1),
    periods=length, freq='w'), columns=['value'])
Time Series Analysis - unevenly spaced measures - pandas + statsmodels