title: Range index object has no attribute 'end'
body: <p>Iam doing Time series forecasting by SARIMAX model. Code which I ran for the programming was</p>
  <pre><code>import statsmodels.api as sm
  fit1 = sm.tsa.statespace.SARIMAX( train_original.Count, order=(2, 1, 4),seasonal_order=(0,1,1,7)).fit()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/XEpjS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XEpjS.png" alt="train_original_Count data" /></a>
  How I clear the error, kindly help, Thanks</p>