-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dmatrices raising “AssertionError” #148
Comments
Sounds like your environment is messed up somehow – python errors should always have more details than that! I don't know what's causing it, but some issues jump out at me in your formula:
|
@njsmith - that was it! After fixing the formula, all fell into place. Many thanks. |
I have a similar issue. When doing this I get a blank assertion error as well
|
Totally inexperienced user. My first Negative Binomial Regression. iPython on Google's Colab. I load the dataset as a pandas df. The features (and Target) in the formula below all appear in the df (which I named "dataset").
I also bring in
however, when I
I simply get "AssertionError: ", and an arrow to line four (the one starting "response"). I have no idea how to remedy this, and cannot figure out if why this happens. Is it a Patsy issue? a Colab issue? A daft coding issue? Any sage guidance, please?
The text was updated successfully, but these errors were encountered: