jorisvandenbossche commented on issue #30950:
URL: https://github.com/apache/arrow/issues/30950#issuecomment-1765973854
@wjones127 where is this implemented in the R package? (or which name is it
using, I don't find it based on "duplicate")
BTW, one of the possible workarounds that was being discussed above, using
groupby, nowadays works because the "first"/"last" ordered aggregations have
been added:
```
In [19]: table = pa.table({'a': [1, 2, 1, 3], 'b': ['a', 'b','c', 'd']})
In [20]: table.group_by("a", use_threads=False).aggregate([("b", "last")])
Out[20]:
pyarrow.Table
a: int64
b_last: string
----
a: [[1,2,3]]
b_last: [["c","b","d"]]
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]