Skip to content

Indexslicing error for numpy object #69

@stevenhua0320

Description

@stevenhua0320

During testing polynomial script, an error occured,
cut_idx = y.argsort()[:cut]
~~~~~~~~~~~^^^^^^
TypeError: slice indices must be integers or None or have an __index__ method

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions