SARIMAX models require univariate `endog`. Got shape %s.
Package:
statsmodels
6600
Exception Class:
ValueError
Raise code
missing=missing)
self.endog = None if faux_endog else self._model.endog
self.exog = self._model.exog
# Validate endog shape
if (validate_specification and not faux_endog and
self.endog.ndim > 1 and self.endog.shape[1] > 1):
raise ValueError('SARIMAX models require univariate `endog`. Got'
' shape %s.' % str(self.endog.shape))
self._has_missing = (
None if faux_endog else np.any(np.isnan(self.endog)))
@property
def is_ar_consecutive(self):
"""
"""
Links to the raise (1)
https://github.com/statsmodels/statsmodels/blob/9ec982db6806deb9bfe13d72bbfabd3271c4d063/statsmodels/tsa/arima/specification.py#L454NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix