-
Notifications
You must be signed in to change notification settings - Fork 3
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
estimate_coefficient method returns different variable types based on if condition #261
Comments
The other return from the method |
Please could the return types for the other |
Would the preference for all |
Yes I think so |
You okay if we merge #264 as that is meant to be limited to the Pasty interaction terms? Then I'll make a new PR for this issue, and release a version that contains both PRs? |
Works for me. Just reviewing the code now |
I may actually hold off on merging this one, if we make all the So I'll work on the same branch just to make life simple and not introduce code that we will immediately remove. |
Agreed, now I've looked at the chances. |
Describe the bug
The
estimate_coefficient
method inestimators.py
can either return a list of pandas Series or a list of numpy floats based on which if condition is met.Expected behavior
Ideally only Series would be returned from this method.
Additional context
Unit tests will need fixing as well as they rely on both data types. This change will facilitate the tidying of the method.
The text was updated successfully, but these errors were encountered: