issue_comments: 808797080
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/issues/627#issuecomment-808797080 | https://api.github.com/repos/pydata/xarray/issues/627 | 808797080 | MDEyOklzc3VlQ29tbWVudDgwODc5NzA4MA== | 13301940 | 2021-03-27T20:20:47Z | 2021-03-27T20:20:47Z | MEMBER | This issue appears to have been resolved: ```python In [1]: import xarray as xr In [2]: import numpy as np In [3]: ds = xr.Dataset({"1": xr.DataArray(np.zeros(3), dims=["a"], coords={"a": list("xyz")})}) In [4]: ds Out[4]: <xarray.Dataset> Dimensions: (a: 3) Coordinates: * a (a) <U1 'x' 'y' 'z' Data variables: 1 (a) float64 0.0 0.0 0.0 In [5]: ds["2"] = xr.DataArray(np.zeros(2), dims=["a"], coords={"a": list("xy")}) In [6]: ds Out[6]: <xarray.Dataset> Dimensions: (a: 3) Coordinates: * a (a) <U1 'x' 'y' 'z' Data variables: 1 (a) float64 0.0 0.0 0.0 2 (a) float64 0.0 0.0 nan ``` I tested this with
Should we close this? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
111795064 |