You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm increasingly thinking that doing this right will mean implementing the relevant operations end-to-end on the EAs, e.g. groupby_sum. For e.g pyarrow dtypes or potential GPU/distributed arrays they'd want their own things instead of casting back and forth to use our groupby.pyx code
we should choose one naming scheme for all these methods instead of three slightly different ones. i.e. either a) shove everything into something like groupby_op or b) explicitly have groupby_foo for each of the relevant methods.
The two options aren't mutually exclusive; we could have groupby_op which dispatches to each groupby_foo. Then EA authors could override groupby_op if that is convenient or groupby_foo if they just want a certain method.
Create a property function to decide what to do for EAs in
_ea_wrap_cython_operation
for groupby ops.xref : #43634 (comment)
pandas/pandas/core/groupby/ops.py
Lines 318 to 333 in 439acc9
The text was updated successfully, but these errors were encountered: