You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jbrockmendel (via GitHub)" <gi...@apache.org> on 2023/03/16 03:34:42 UTC

[GitHub] [arrow] jbrockmendel opened a new issue, #34579: DOC: TableGroupBy.aggregate options

jbrockmendel opened a new issue, #34579:
URL: https://github.com/apache/arrow/issues/34579

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Context: trying to figure out what it would take to let pandas dispatch to pyarrow's groupby machinery.
   
   Most of the relevant methods we would want to dispatch are reduction-like, which maps onto TableGroupBy.aggregate.  The only docs I see are https://arrow.apache.org/docs/python/generated/pyarrow.TableGroupBy.html#pyarrow.TableGroupBy.aggregate which says `aggregate` takes "List of tuples made of aggregation column names followed by function names and optionally aggregation function option"
   
   It is not clear to me what "function names" are available.  The only example I see is "sum".  
   
   It is also not clear what can be done with FunctionOptions.
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] jorisvandenbossche closed issue #34579: [Python][Docs] TableGroupBy.aggregate options

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #34579: [Python][Docs] TableGroupBy.aggregate options
URL: https://github.com/apache/arrow/issues/34579


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] westonpace commented on issue #34579: DOC: TableGroupBy.aggregate options

Posted by "westonpace (via GitHub)" <gi...@apache.org>.
westonpace commented on issue #34579:
URL: https://github.com/apache/arrow/issues/34579#issuecomment-1471280041

   We should probably include a link to https://arrow.apache.org/docs/python/compute.html#grouped-aggregations if we can.  That section describes this pretty well.
   
   > It is also not clear what can be done with FunctionOptions.
   
   Each function will potentially have its own options (though all of the aggregate functions share https://arrow.apache.org/docs/python/generated/pyarrow.compute.ScalarAggregateOptions.html#pyarrow.compute.ScalarAggregateOptions).  This is documented further in the above link as well.


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] jbrockmendel commented on issue #34579: [Python][Docs] TableGroupBy.aggregate options

Posted by "jbrockmendel (via GitHub)" <gi...@apache.org>.
jbrockmendel commented on issue #34579:
URL: https://github.com/apache/arrow/issues/34579#issuecomment-1472223452

   This is very helpful thank you.


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org