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

[Fix] Update.asFrame now takes filter into account. #283

Merged
merged 4 commits into from
Mar 2, 2023
Merged

Conversation

Jolanrensen
Copy link
Collaborator

Fix for #280.

Similar to Update.perCol {}, in the body of asFrame, users will have access to the entire selected group column (treated as a DF), but now the result of the operation will only be applied to rows that satisfy a given where/at clause of the update call chain.

See the new test for an example.

@Jolanrensen Jolanrensen added bug Something isn't working enhancement New feature or request labels Feb 27, 2023
@Jolanrensen Jolanrensen added this to the 0.10.0 milestone Feb 27, 2023
Copy link
Collaborator

@zaleslaw zaleslaw left a comment

Choose a reason for hiding this comment

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

Could you please answer my questions?

@Jolanrensen
Copy link
Collaborator Author

@zaleslaw Greatly simplified the function :) didn't know I could make it this small. Should also make it easier to understand what's going on

@Jolanrensen Jolanrensen merged commit a089dcb into master Mar 2, 2023
@Jolanrensen Jolanrensen deleted the asFrame-fix branch March 2, 2023 15:24
@Jolanrensen Jolanrensen self-assigned this Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants