WIP: Optional indexes (no more default coordinates given by range(n)) by shoyer · Pull Request #1017 · pydata/xarray (original) (raw)
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
This was referenced
Oct 22, 2016
shoyer added a commit to shoyer/xarray that referenced this pull request
Fixes GH242
This is useful for getting rid of extraneous scalar variables that arise from indexing, and in particular will resolve an issue for optional indexes: pydata#1017 (comment)
shoyer added a commit that referenced this pull request
- Add drop=True argument to isel, sel and squeeze
Fixes GH242
This is useful for getting rid of extraneous scalar variables that arise from indexing, and in particular will resolve an issue for optional indexes: #1017 (comment)
More tests for Dataset.squeeze(drop=True)
Add two more tests, for drop=True without coords