home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 131599877

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/324#issuecomment-131599877 https://api.github.com/repos/pydata/xarray/issues/324 131599877 MDEyOklzc3VlQ29tbWVudDEzMTU5OTg3Nw== 2443309 2015-08-16T18:51:05Z 2015-08-17T16:07:41Z MEMBER

@shoyer -

I want to look into putting a PR together for this. I'm looking for the same functionality that you get with a pandas Series or DataFrame:

Python data.groupby([lambda x: x.hour, lambda x: x.timetuple().tm_yday]).mean()

The motivation comes in making a Hovmoller diagram. What we need is this functionality:

Python da.groupby(['time.hour', 'time.dayofyear']).mean().plot()

If you can point me in the right direction, I'll see if I can put something together.

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