-
Notifications
You must be signed in to change notification settings - Fork 370
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
add in for GroupKeys #2392
add in for GroupKeys #2392
Conversation
@oxinabox - are there conclusions from custom indexing BOF during JuliaCon2020 for such cases. To be precise:
The question is: should Also maybe there are other recommendations that it would be good to be aware of. Thank you! |
the fancy indexing BoF did not focus on conclusions, it focused on desires. If we wanted to match the behavour of
|
Thank you for looking into this. Let us wait what Julia core team says. |
Given the discussion on Slack I understand that The interpretation is that |
I think that is correct |
OK - changed! |
Maybe we should wait and see whether Base does the same change for NamedTuple before merging this? |
I think that before 2.0 it is not going to change in Base as:
so as @oxinabox mentioned the type of object returned by As |
@nalimilan - so what do you think of this? |
@nalimilan - bump. I think it would be better to make a decision on this before 1.0 release. |
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.
Sorry, I had totally forgotten this one. I don't have a strong opinion. It seems that whatever we do there will be a small inconsistency between isequal
, in
and haskey
.
Thank you! |
@nalimilan - we should then additionally decide how |
sorry - this should be in #2639 (comment) |
Fixes #2305
This is the last thing that was left from that issue. I was not sure if
1 in keys(gdf)
should returntrue
orfalse
. On one handhaskey(gdf, 1)
istrue
, but it seems unintuitive. Maybe we should removehaskey
support for integers?