DataFrameClient Aggregated query how to group by Tags and assign it to pandas dataframe

fyi

It has led to another issue.
I must be able to access time column after we get data using DataFrameClient and assign frequency to time column, Without freq one cannot fully realize the potential of statsModels.

df.index.freq = 'MS' OR df.index.freq = 'D'

anaconda3\lib\site-packages\statsmodels\tsa\base\tsa_model.py:219: ValueWarning: A date index has been provided, but it has no associated frequency information and so will be ignored when e.g. forecasting.
  ' ignored when e.g. forecasting.', ValueWarning)

Without frequency x axis will be based on intergers instead of date which will prevent me to test it with training_data and test_data

Before commenting prediction

After commenting the prediction:

Thanks
Ashish