issue_comments: 1094066748
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/1569#issuecomment-1094066748 | https://api.github.com/repos/pydata/xarray/issues/1569 | 1094066748 | IC_kwDOAMm_X85BNiI8 | 5635139 | 2022-04-09T15:25:06Z | 2022-04-09T15:25:06Z | MEMBER | The example above is now fixed: ```python In [1]: ds=xr.Dataset(dict(a=(('z',), np.ones(10))), coords=dict(b=(('z'),np.arange(2).repeat(5)), c=(('z'),np.arange(5).repeat(2)))) ...: In [2]: ds.set_index(bc=['b','c']).groupby('bc').sum() Out[2]: <xarray.Dataset> Dimensions: (bc: 6, z: 10) Coordinates: * bc (bc) object MultiIndex * b (bc) int64 0 0 0 1 1 1 * c (bc) int64 0 1 2 2 3 4 Dimensions without coordinates: z Data variables: a (bc, z) float64 1.0 1.0 1.0 1.0 1.0 1.0 ... 1.0 1.0 1.0 1.0 1.0 1.0 # <- correct ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
257070215 |