Skip to content
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

[FEATURE-REQUEST] #2428

Open
AxionMax opened this issue Aug 14, 2024 · 0 comments
Open

[FEATURE-REQUEST] #2428

AxionMax opened this issue Aug 14, 2024 · 0 comments

Comments

@AxionMax
Copy link

Hi Vaex team,

I'm using Vaex version 4.17.0, and I've been performing groupby operations to aggregate data. For example, I can easily compute minimum, maximum, and mean values using vaex.agg:

import vaex

df_grouped = df.groupby(by=["Inclination", "Loaded"], agg={
    'Vel_min': vaex.agg.min('Vel'),
    'Vel_max': vaex.agg.max('Vel'),
    'Vel_mean': vaex.agg.mean('Vel')
})

However, I am interested in calculating custom statistics, such as percentiles or other metrics that are not directly available through vaex.agg.

Question:

Is it possible to perform calculations like the percentile "p" or other custom statistics that are not directly implemented in vaex.agg within a groupby operation in Vaex? If not, what are the recommended approaches or workarounds for achieving this?

Thank you for your time and for developing this powerful tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant