Skip to content
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

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant