Skip to content

ENH: confusing name for 'copy' argument in to_numpy() method #43165

Open
@Abdelgha-4

Description

@Abdelgha-4

I found the following behavior a bit unexpected from the name of the argument.

The default (copy=False) may return a copy instead of a view. copy=True always returns a copy, but copy=False does not always return a view.

I think changing the argument name to something like always_copy would be more clear about what it is doing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions