AlenkaF commented on code in PR #46815: URL: https://github.com/apache/arrow/pull/46815#discussion_r2150023258
########## python/pyarrow/tests/test_compute.py: ########## @@ -1051,6 +1051,25 @@ def test_pad(): assert pc.utf8_rpad(arr, 3).tolist() == [None, 'รก ', 'abcd'] +def test_utf8_zfill(): + arr = pa.array(['A', 'AB', 'ABC', None]) + assert pc.utf8_zfill( + arr, options=pc.PadOptions(width=3, padding='0') Review Comment: This could work with `pc.utf8_zfill(arr, width=3)` or `pc.utf8_zfill(arr, 3)` if I am not mistaken? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org