title: ARIMA with more than one attribute python
body: <p>Here, I have a dataset with two attributes. I have totally 200 days and each day have <code>TotalTransactionNumber</code> and <code>Price</code> attributes such as:</p>
  
  <pre><code>    Day, Price,TotalTransactionNumber
      10/18/2015 0:00,262.9,118916
      10/19/2015 0:00,264.42,151128
      10/20/2015 0:00,270.22,147335
      10/21/2015 0:00,267.33,149446
      10/22/2015 0:00,274.41,146556
      10/23/2015 0:00,277.46,142066
      10/24/2015 0:00,282.66,140943
      10/25/2015 0:00,283.07,131191
  </code></pre>
  
  <p>Here, I am trying to use ARIMA but I do not know how to use it. In this case, I am trying to guess price values.
  If it is only price, this code snippet will work but I do not know how to modify it.</p>
  
  <pre><code>from statsmodels.tsa.arima_model import ARIMA
  import pandas as pd
  
  series = pd.read_csv('prices.csv')
  X = series.values
  train, test = X[0:size], X[size:len(X)]
  history = [x for x in train]
  predictions = list()
  for t in range(len(test)):
      model = ARIMA(history, order=(5,1,0))
      model_fit = model.fit(disp=0)
      output = model_fit.forecast()
      yhat = output[0]
      predictions.append(yhat)
      obs = test[t]
      history.append(obs)
      print('predicted=%f, expected=%f' % (yhat, obs))
  </code></pre>