-
Notifications
You must be signed in to change notification settings - Fork 9
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
Should InvertedIndices call to_indices
on all elements in an array of skipped indices?
#31
Comments
Another issue with
and this should error |
to_indices
on all elements in an array of skipped indices?
Fundamentally, the challenge here is that But what can we do if we're skipping those elements? More fundamentally, how do we prove that a skipped index would otherwise be a valid index — and which one is it? Should we pre-emptively map I am slightly curious how DataFrames is avoiding the troubles that #7 displays. |
DataFrames.jl provides a custom implementation of |
We have the following super bad behavior:
which is a consequence of the fact that:
in Base.
@mbauman - do you think we should fix it in InvertedIndices.jl or this should be fixed in Base?
CC @nalimilan
The text was updated successfully, but these errors were encountered: