[ 
https://issues.apache.org/jira/browse/ARROW-17264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573899#comment-17573899
 ] 

Francisco Garcia commented on ARROW-17264:
------------------------------------------

this code is in python, I would like to do something similar in golang


{code:python}
>>> import pyarrow as pa
>>> t = pa.table([
...       pa.array(["a", "a", "b", "b", "c"]),
...       pa.array([1, 2, 3, 4, 5]),
... ], names=["keys", "values"])
>>> t.group_by("keys").aggregate([("values", "sum")])
pyarrow.Table
values_sum: int64
keys: string
----
values_sum: [[3,7,5]]
keys: [["a","b","c"]]
{code}


> [Go] Function group by on table
> -------------------------------
>
>                 Key: ARROW-17264
>                 URL: https://issues.apache.org/jira/browse/ARROW-17264
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: Go
>    Affects Versions: 8.0.1
>            Reporter: Francisco Garcia
>            Priority: Minor
>
> I'm trying to find some way to group data in Apache Arrow with golang, but I 
> couldn't do it. There's a way to do this or it is only implemented in cpp and 
> python.
> Are there plans to implement this on future releases?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to