-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
_normalize_keyword_aggregation` named agg helper function should be made public #28472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And as an alternative to making it part of the official public API for end-users, we could add a test to ensuring that it's implementation doesn't move, so that projects like dask can rely on it. That last option conflicts a bit our desire to deprecate all of |
@TomAugspurger Could I work on this? I'm interested in seeing this moved forward since I need the named aggregation feature in Dask to incorporate it into the dataframe_sql framework that I'm building |
That sounds good.
…On Sun, May 17, 2020 at 6:19 PM Zach Brookler ***@***.***> wrote:
@TomAugspurger <https://github.com/TomAugspurger> Could I work on this?
I'm interested in seeing this moved forward since I need the named
aggregation feature in Dask to incorporate it into the dataframe_sql
framework that I'm building
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28472 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAOIS2VOYLST3FEMDIN4DRSBWH3ANCNFSM4IXHWEBQ>
.
|
@rhshadrach these now live in core.apply, so im declaring this your call. |
The linked issue is now closed, with dask implementing it using cc @mroeschke for any thoughts. |
+1 for something pseudo-public |
+1 as well for exposing this publicly somehow |
What would be the reason for moving them? |
The only path that explicitly mentions pseudo-public api is internals. What are your thoughts on this issue? Should they be documented and made available on pandas/core/api.py or we only need to add tests? |
This is not widely know, but the API documentation (https://pandas.pydata.org/pandas-docs/dev/reference/index.html) states:
As such, to ensure we don't accidentally break dask, I think it would be sufficient to add a test for just |
Slightly related to #28380
Currently an issue in Dask dask/dask#5294 for implementing Named Aggregation (introduced in pandas 0.25.0) is open. To implement this it needs to use
_normalize_keyword_aggregation
and_is_multi_agg_with_relabel
.Making it public would be useful for frameworks like dask mars
cc: @TomAugspurger
The text was updated successfully, but these errors were encountered: