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. |
nalimilan
left a comment
There was a problem hiding this comment.
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 returntrueorfalse. On one handhaskey(gdf, 1)istrue, but it seems unintuitive. Maybe we should removehaskeysupport for integers?