Skip to content
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

Accept single model as input (without a list) #57

Open
MaxGhenis opened this issue Jun 25, 2020 · 0 comments
Open

Accept single model as input (without a list) #57

MaxGhenis opened this issue Jun 25, 2020 · 0 comments

Comments

@MaxGhenis
Copy link
Contributor

If you have a single model m and try sg.Stargazer(m), you get:

TypeError: object of type 'RegressionResultsWrapper' has no len()

This works if you do sg.Stargazer([m]), but it'd be nice to either throw a more informative warning or to accept a single model not as a list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant