[
https://issues.apache.org/jira/browse/ARROW-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17372550#comment-17372550
]
Joris Van den Bossche commented on ARROW-13229:
-----------------------------------------------
As mentioned on the mailing list, I think this is fixed on master
{code}
>>> pc.utf8_trim("aba", characters="a")
<pyarrow.StringScalar: 'b'>
>>> pc.ascii_trim("aba", characters="a")
<pyarrow.StringScalar: 'b'>
{code}
> ascii_trim, ascii_ltrim and ascii_rtrim lack options
> ----------------------------------------------------
>
> Key: ARROW-13229
> URL: https://issues.apache.org/jira/browse/ARROW-13229
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 4.0.1
> Reporter: Ying Zhou
> Priority: Major
>
> python.compute.ascii_trim can not be called since it requires a
> python.compute.TrimOptions but at the same time it does not allow
> python.compute.TrimOptions. This bug may or may not also be caused by an
> upstream bug in C++ which may also affect other languages such as R.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)