Re: [Python] ascii_trim bug & documentation

2021-07-01 Thread Joris Van den Bossche
Hi, I think this is fixed on the master branch. With master, I get: >>> pc.utf8_trim("aba", characters="a") >>> pc.ascii_trim("aba", characters="a") while with released pyarrow 4.0.1, the second one indeed raises an error (not directly sure when it was fixed). For the documentation, contribut

[Python] ascii_trim bug & documentation

2021-06-30 Thread Ying Zhou
Hi, It seems that pyarrow.compute.ascii_trim can not be used without a TrimOption. However a TrimOption can not be given as a keyword only argument either. This looks like a bug since utf8_trim does not have this problem. Is my understanding correct? Also it seems that there is a lot of Python