home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 257070215

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
257070215 MDU6SXNzdWUyNTcwNzAyMTU= 1569 Grouping with multiple levels 25231875 closed 0     6 2017-09-12T14:46:12Z 2022-04-09T15:25:07Z 2022-04-09T15:25:06Z NONE      

http://xarray.pydata.org/en/stable/groupby.html says:

xarray supports “group by” operations with the same API as pandas

but when I supply the level keyword argument as described at https://pandas.pydata.org/pandas-docs/stable/groupby.html#groupby-with-multiindex, I get:
``` TypeError Traceback (most recent call last) <ipython-input-12-566fc67c0151> in <module>() ----> 1 hvm_it_v6_obj = hvm_it_v6.groupby(level=["category","obj"]).mean(dim="presentation") 2 hvm_it_v6_obj

TypeError: groupby() got an unexpected keyword argument 'level' ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1569/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.863ms · About: xarray-datasette