-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG fix +test .sel method gives error with float32 values (#3153)
* BUG fix +test .sel method gives error with float32 values .sel method gives error when it is used to select float32 values Resolves: #3137 * BUG .sel method gives error with float32 values avoid copying indexers for efficiency * BUG: .sel method fails when label is float differnt from coords float type casting at a lower level closer to pandas.Index methods * BUG: .sel method fails when label is float differnt from coords float type casting at a lower level closer to pandas.Index methods * Update xarray/core/indexing.py Co-Authored-By: Stephan Hoyer <[email protected]> * BUG: .sel method gives error when label is float different from coords float type generalizing to coerce numpy arrays in addtion to lists/floats * Black
- Loading branch information
1 parent
362ae55
commit 097306b
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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