-
Notifications
You must be signed in to change notification settings - Fork 119
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-1348621 Fix bug and add support for DataFrame key in getitem #1445
Conversation
|
||
@sql_count_checker(query_count=1) | ||
def test_series_getitem_lambda_series(): | ||
data = {"a": 1, "b": 2, "c": 3} |
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.
Same thing about negative numbers.
Looks good overall. Just a couple of nits. |
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.
great work! LGTM with a nit
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.
Thanks for the quick fix!
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.
Looks great. Thank you!
Please answer these questions before submitting your pull requests. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-1348621
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
(boolean) DataFrame keys in
__getitem__
were not correctly supported. I usewhere()
to evaluate the result fordf[DataFrame key]
.