Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to select a subset of an AxisArray by keyword? #174

Closed
Datseris opened this issue Jan 10, 2020 · 0 comments · Fixed by #177
Closed

How to select a subset of an AxisArray by keyword? #174

Datseris opened this issue Jan 10, 2020 · 0 comments · Fixed by #177

Comments

@Datseris
Copy link

I have B = AxisArray(randn(10,10), :x, :z);. I want to be able to do something along the lines of

select(B; x = -10 .. 10)

or even using the syntax B[x = -10 .. 10].

  1. Is this possible?
  2. Would you accept it as a PR? I couldn't find something like that in the documentation.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant