Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
(from discussion in ARROW-9489 with maartenbreddels)
A general "where" kernel like np.where (https://numpy.org/doc/stable/reference/generated/numpy.where.html) seems a generally useful kernel to have, and could also help mimicking some other python (setitem-like) operations.
The concrete use case in ARROW-9489 is to basically do a fill_null(array[string], array[string]) which could be expressed as where(is_null(arr), arr2, arr).
Attachments
Issue Links
- is a parent of
-
ARROW-12955 [C++] Add additional type support for if_else kernel
- Resolved
-
ARROW-12975 [C++][Python] if_else kernel doesn't support upcasting
- Resolved
- is depended upon by
-
ARROW-12964 [R] Add bindings for ifelse() and if_else()
- Resolved
- is related to
-
ARROW-11044 [C++] Add "replace" kernel
- Closed
- relates to
-
ARROW-13220 [C++] Add a 'choose' kernel/scalar compute function
- Resolved
- supercedes
-
ARROW-11044 [C++] Add "replace" kernel
- Closed
- links to