Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0.0
-
macOS 11.5
Description
import pyarrow as pa import pyarrow.compute as pc arr = pa.array(["ab", "ac"]) r = pc.utf8_ltrim(arr, characters="a") assert r.to_pylist() == ["b", "c"], r r = pc.utf8_rtrim(arr, characters="b") assert r.to_pylist() == ["a", "ac"], r
Seems to go awry after the first match.
Attachments
Issue Links
- links to