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

Added AggFormula in io.deephaven.api.agg.Aggregation, fixes #1699 #1813

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

jmao-denver
Copy link
Contributor

also made it avaiable in deephaven2 via the agg.py wrapper

also made it avaiable in deephaven2 via the agg.py wrapper
devinrsmith
devinrsmith previously approved these changes Jan 10, 2022
Copy link
Member

@devinrsmith devinrsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.

@@ -283,7 +284,6 @@ def test_agg_by_2(self):
weighted_avg("var", ["weights"])]

result_table = test_table.agg_by(aggs, ["dumb"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of this review, but I think the variable name dumb is "improper". I'd advise choosing completely "neutral" names commonly used (foo, bar, baz), or choose something "meaningful" such as key, or my_group. I'd suggest an audit of the client for other potentially "improper" names.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do.

'dumb' is potentially offsensive thus improper to use in the code
@jmao-denver jmao-denver merged commit d516ce5 into deephaven:main Jan 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2022
@jmao-denver jmao-denver deleted the feature-1699 branch February 8, 2023 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants