home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 236358965

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/924#issuecomment-236358965 https://api.github.com/repos/pydata/xarray/issues/924 236358965 MDEyOklzc3VlQ29tbWVudDIzNjM1ODk2NQ== 1197350 2016-07-30T10:54:50Z 2016-07-30T10:54:50Z MEMBER

This looks like a really useful addition. It would be useful for me to have an example of how this is supposed to work. The tests are a starting point, but perhaps kind of trivial cases.

If I create the following 2D dataset:

python ds = xr.Dataset({'foo': (['x','y'], np.random.rand(2,4))})

and then do

python ds.groupby(['x','y']).sum()

What should the coordinates of the output be? Every unique combination of x and y?

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