issue_comments: 527245079
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/pull/3238#issuecomment-527245079 | https://api.github.com/repos/pydata/xarray/issues/3238 | 527245079 | MDEyOklzc3VlQ29tbWVudDUyNzI0NTA3OQ== | 3460034 | 2019-09-02T21:24:52Z | 2019-09-02T21:31:05Z | CONTRIBUTOR | After digging a bit more into
Based on your tests and examples, I would agree that https://github.com/pydata/xarray/issues/3241 isn't really fixed. I also agree that adding the method tests is a good idea. Thank you for clarifying about the ```python import xarray as xr import numpy as np import pint unit_registry = pint.UnitRegistry() array = np.linspace(5, 10, 20).astype(int) * unit_registry.m x = np.arange(len(array)) * unit_registry.s data_array = xr.DataArray(data=array, coords={"x": x}, dims=["x"]) print(data_array.sel(x = [15, 16] * unit_registry.volts))
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
484015016 |