Skip to content

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

Open
@diro5t

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions