home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 435192382

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/2525#issuecomment-435192382 https://api.github.com/repos/pydata/xarray/issues/2525 435192382 MDEyOklzc3VlQ29tbWVudDQzNTE5MjM4Mg== 1217238 2018-11-01T21:24:15Z 2018-11-01T21:24:15Z MEMBER

OK, so maybe da.block({'lat': 2, 'lon': 2}).mean() would be a good way to spell this, if that's not too confusing with .chunk()? Other possible method names: groupby_block, blocked?

We could call this something like coarsen() or block_reduce() with a how='mean' or maybe func=mean argument, but I like the consistency with resample/rolling/groupby.

We can save the full coordinate based version for a later addition to .resample()

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