home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 252506038

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/1042#issuecomment-252506038 https://api.github.com/repos/pydata/xarray/issues/1042 252506038 MDEyOklzc3VlQ29tbWVudDI1MjUwNjAzOA== 10050469 2016-10-09T19:13:49Z 2016-10-09T19:13:49Z MEMBER

Thanks @shoyer , here's a mwe:

``` python import xarray as xr import numpy as np ds = xr.Dataset() for vn in ['a', 'b', 'c']: ds[vn] = xr.DataArray(np.arange(10), dims=['t']) ds.groupby('t').mean()

<xarray.Dataset> Dimensions: (t: 10) Coordinates: * t (t) int64 0 1 2 3 4 5 6 7 8 9 Data variables: a (t) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 c (t) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 b (t) float64 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  181881219
Powered by Datasette · Queries took 3.262ms · About: xarray-datasette