Skip to content

QST: Zero copy access to the mask of a nullable array #35089

Closed
@brandon-b-miller

Description

@brandon-b-miller
  • I have searched the [pandas] tag on StackOverflow for similar questions.

  • I have asked my usage related question on StackOverflow.


Question about pandas

Hello Pandas devs,
I was wondering what's the best zero-copy way to access the mask of a nullable array, say a StringArray for example. I noticed these all inherit from BaseMaskedArray which provides isna() wrapping _mask however I want to make sure this is the recommended method, if I can always be sure this doesn't incur a copy, etc. Should I be using isna() or something else, if it exists?

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