-
Notifications
You must be signed in to change notification settings - Fork 96
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
Feature: masked slicing #190
Comments
Thanks for using bitarray! If I understand your example correctly, masking is simply the (already existing)
I'm having the same concerns as with #156 for adding the indexing with a list feature. So having |
nope. And operator can't compose bitarray from bits of sequence a, which are on places of 1 in b. Numpy can do such thing, but it's quite inconvenient to use numpy for binary processing. It'll be fine if that feature would be implemented as function. thank you for your library. |
#204 has now been merged which allows indexing by lists |
#205 has been merged which can now allows indexing by bitarrays as masks, see: |
Oh thank you very much. |
The new features (sequence and masked indexing) are now available in bitarray 2.8.0 |
there is other quite similar feature suggestion,which is related to list indexing:
#156
However, I need a bit different thing. List indexing for bit retrieval:
`
I'd be glad to see that functions in any implementation.
The text was updated successfully, but these errors were encountered: