You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ARIMA: Check if input dataframe has one column #2575
For a while, I was receiving this unhelpful error message when I was initializing an ARIMA model using a 2-D dataframe:
Essentially, the TypeError made me think that my input column names were wrong. But what was really happening was I needed to pass in either a 2-D dataframe with one column, or a pandas Series.
It would be nice to throw an error message if a 2-D dataframe is detected with more than one column.
the stack overflow question has the same exception message as #3269 (comment)
possibly related to how series.name is handled (or not enough cases are handled)
as pointed out by @jbrockmendel here #3960 (comment)
see followup comments
Activity
josef-pkt commentedon Oct 4, 2017
my guess is that this is still open
(issue was lost without labels)
josef-pkt commentedon Oct 7, 2017
related: #3988
We need to check unit test coverage and verify what happens in different cases of 1-D, 2-D (nobs, 1) and 2-D (nobs, k), k>1
josef-pkt commentedon Oct 7, 2017
https://stackoverflow.com/questions/46582490/typeerror-ufunc-add-did-not-contain-a-loop-with-signature-for-arima-model
might have a similar problem with the name creation, but too little information to tell
josef-pkt commentedon Oct 8, 2017
the stack overflow question has the same exception message as
#3269 (comment)
possibly related to how series.name is handled (or not enough cases are handled)
as pointed out by @jbrockmendel here
#3960 (comment)
see followup comments
ENH: Improve error when ARMA endog is not 1d
ENH: Improve error when ARMA endog is not 1d