Skip to content

Make an unordered set union of two Strings arrays function #4244

Closed

Description

@1RyanK

Feature Description
We have a concatenate function but we should have a way to uniquely join together elements of two Strings arrays. Then set_categories is easy - union together the categories, then find indices of current elements, and then remap the pdarray.

Example Behavior
Should behave like ak.array(set(arr_1).union(arr_2)) would, if that could just happen.

Describe Workarounds
Existing methods are slow.

Activity

  1. added
    enhancement
    on Apr 21, 2025
  2. self-assigned this
    on Apr 21, 2025
  3. added 15 commits that reference this issue on Apr 21, 2025
    1b3ba0d
    5474af8
    bd87800
    01d7cbd
    3b6f6ee
    9382277
    8a5b01c
    e46b3f6
    1e85b78
    1029327
    b5f00e6
    da28013
    fe856d3
    5439df6
    8d52083
  4. added a commit that references this issue on May 6, 2025
    aad397c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions