Skip to content

Query data when using dask-awkward #1283

Closed Answered by jpivarski
JuanBSLeite asked this question in Q&A
Discussion options

You must be logged in to vote

Each delayed_array.x > 3 and delayed_array.y > 1 creates an array of booleans that can be used as a slice. To combine the two arrays of booleans with "and", use the bitwise operator & (with parentheses for correct order-of-operations):

selected_delayed_array = delayed_array[(delayed_array.x > 3) & (delayed_array.y > 1)]

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JuanBSLeite
Comment options

@JuanBSLeite
Comment options

@jpivarski
Comment options

Answer selected by JuanBSLeite
@jpivarski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants