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

model.estimate_effect and model.refute_astimate throws 'A column-vector y was passed ...' error #1212

Open
diro5t opened this issue Jun 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@diro5t
Copy link

diro5t commented Jun 18, 2024

Hi team,

when I use above mentioned methods I get the the following message:

"A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel()."

How can I avoid this? Is this a bug or am I doing something wrong?

Thanks

@diro5t diro5t added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant