def _convert_out_to_series(x, dates, name):
 from statsmodels.compat import StringIO
 from pandas import read_table
 out = read_table(StringIO(x), skiprows=2, header=None)
 return out.set_index(dates).rename(columns={1: name})[name]

def _convert_out_to_series ( x , dates , name ) : from statsmodels . compat import StringIO from pandas import read_table out = read_table ( StringIO ( x ) , skiprows = 2 , header = None ) return out . set_index ( dates ) . rename ( columns = { 1 : name } ) [ name ]
convert x to a dataframe where x is a string in the format given by x-13arima-seats output .