Thanks to visit codestin.com
Credit goes to github.com

Skip to content

np.asscalar will be deprecated in the next NumPy release #12346

@mattip

Description

@mattip

A "heads up" from NumPy - numpy/numpy#12123 deprecated np.asscalar(a), and recommends using a.item() instead. The item method is tested and more flexible. It seems there is one use of np.asscalar in the code base.

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