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

Standard deviation aggregation expression #2997

Closed
kevinzwang opened this issue Oct 4, 2024 · 1 comment
Closed

Standard deviation aggregation expression #2997

kevinzwang opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@kevinzwang
Copy link
Member

We'd like to have support for computing the standard dev as an aggregation, something along the lines of

# global
df.agg(col("data").std_dev())

# grouped
df.groupby("name").agg(col("data").std_dev())

There's an algorithm for distributed std dev we can use in order to not need to first compute and broadcast the mean.

@kevinzwang kevinzwang assigned kevinzwang and raunakab and unassigned kevinzwang Oct 4, 2024
@colin-ho
Copy link
Contributor

colin-ho commented Oct 9, 2024

Closed with #3005

@colin-ho colin-ho closed this as completed Oct 9, 2024
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

3 participants