Skip to content

Test various slicing identities with Dask Arrays - #2978

Merged
jakirkham merged 1 commit into
dask:masterfrom
jakirkham:opt_getitem_ellipsis
Dec 9, 2017
Merged

jakirkham merged 1 commit into
dask:masterfrom
jakirkham:opt_getitem_ellipsis

Conversation

@jakirkham

Copy link
Copy Markdown
Member

Fixes #2146

Provides some tests to ensure that various trivial slices of Dask Arrays are optimized away and the original Dask Array is returned unchanged.

Tries a variety of different slicing arguments with Dask Arrays, which
should return the full array (and are known to in advance). Ensures that
in all of these cases the same Dask Array is returned unchanged. This is
done to ensure that Dask Arrays will not add these no-ops to the graph.
@jakirkham

Copy link
Copy Markdown
Member Author

Planning on merging tomorrow if no comments.

@jakirkham
jakirkham merged commit df11db4 into dask:master Dec 9, 2017
@jakirkham
jakirkham deleted the opt_getitem_ellipsis branch December 9, 2017 16:23
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 this pull request may close these issues.

1 participant