home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 375445915

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/2007#issuecomment-375445915 https://api.github.com/repos/pydata/xarray/issues/2007 375445915 MDEyOklzc3VlQ29tbWVudDM3NTQ0NTkxNQ== 10194086 2018-03-22T20:26:24Z 2018-03-22T20:27:59Z MEMBER

Probably a mix of both - I want to compute a moving average, but with periodic boundaries. rolling sets window_length - 1 elements to nan. However I want to calculate these like so:

running_mean_0 = xr.concat([ds[-15:], ds[:16]]).mean()
running_mean_1 = xr.concat([ds[-14:], ds[:17]]).mean()

and so on...

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