-
Notifications
You must be signed in to change notification settings - Fork 120
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
SNOW-1344938: Add support for DataFrame.corr #1857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't taken a close look, but I'm wondering if some of this can be moved to aggregation_utils.py
so as to be reused for groupby/resample/window functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good. Easy to read, tests covered the issues I was thinking of.
Yes, that's a good point. I haven't thought thoroughly about the corresponding implementation for groupby/resmaple/window. So I'd suggest to just keep the refactoring (if any) for when we start adding those other implementations. |
@sfc-gh-nkrishna I think it's ready for re-review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just left one suggestion!
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-1344938
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Add support for DataFrame.corr.