Skip to content

Safely access Numpy v2 StringDType array data #505

@kylebarron

Description

@kylebarron

Numpy v2 added a new variable-width string data type. This is much more performant than variable-width string arrays in Numpy v1 because those stored a Python str for every element.

It would be great to have a safe way to access this data. It looks like currently the only APIs are in the unsafe npyffi module.

cc @ngoldbaum

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