8000 ENH: support no-copy pickling for non-contiguous arrays, e.g., recarray · Issue #24226 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
ENH: support no-copy pickling for non-contiguous arrays, e.g., recarray #24226
Closed
@dlee992

Description

@dlee992

Proposed new feature or change:

Following this issue #11161 and related PR, can we support no-copy pickling for recarray, which is a subclass of ndarray? I think right now we don't support this feature, since recarray is non-contiguous arrays.

If it's possible in your experienced view, I guess we need to do some changes in numpy/core/src/multiarray/methods.c and related tests.

Example is here: ray-project/ray#37573 (comment). I can make up a version without Ray later.

And I saw a demo for how to handle pd DataFrame #12011 (comment), don't know if we can have a local trick for recarray too.

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

      0