8000 redundant code in check_array · Issue #9552 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
redundant code in check_array #9552
Closed
@amueller

Description

@amueller

It looks to me like there is redundant code in check_array in the ensure_2d part. We just checked ndim, so what do we do atleast_2d for? (this leaves alone higher n-dim, right)?

I think we should remove these two lines but we need to make sure behavior is really identical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyWell-defined and straightforward way to resolve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0