[ https://issues.apache.org/jira/browse/ARROW-7071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968479#comment-16968479 ]
Wes McKinney commented on ARROW-7071: ------------------------------------- It'd be best to not mutate any existing arrays, but instead to do something like {code} masked_arr = arr.with_validity_bitmap(bits) {code} I'm a bit ambivalent on expanding the usage of {{pyarrow.array}} but that might not be too bad either. These need not be mutually exclusive > [Python] Add Array convenience method to create "masked" view with different > validity bitmap > -------------------------------------------------------------------------------------------- > > Key: ARROW-7071 > URL: https://issues.apache.org/jira/browse/ARROW-7071 > Project: Apache Arrow > Issue Type: Improvement > Components: Python > Reporter: Wes McKinney > Priority: Major > Fix For: 1.0.0 > > > NB: I'm not sure what kind of pitfalls there might be if replacing an > existing validity bitmap and exposing some previously-null values -- This message was sent by Atlassian Jira (v8.3.4#803005)