Skip to content

Error while using '.contains' function. #29

@Sumedh2399

Description

@Sumedh2399

I am trying to use the '.contains' function, but it is throwing an error as follows, given in the picture. It is probably due to an upgrade in the NumPy library. It is stating that np.array(obj, copy=False) should be replaced by np.asarray(obj).
Please take a look into this. This might require a change in the parent code.

https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
This link describes the change in the NumPy library.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions