home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 138994160

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/563#issuecomment-138994160 https://api.github.com/repos/pydata/xarray/issues/563 138994160 MDEyOklzc3VlQ29tbWVudDEzODk5NDE2MA== 1217238 2015-09-09T18:07:32Z 2015-09-09T18:07:32Z MEMBER

Upsampling (in both xray and pandas) is done through a reindex operation. So doing filling while resampling is simply a matter of adding a fill_method argument to resample [1], passing it on to the GroupBy object [2], and using it for the method argument when we call _maybe_restore_empty_groups [3].

Here are the relevant lines in xray: [1] https://github.com/xray/xray/blob/v0.6.0/xray/core/common.py#L277-L351 [2] https://github.com/xray/xray/blob/v0.6.0/xray/core/groupby.py#L86 [3] https://github.com/xray/xray/blob/v0.6.0/xray/core/groupby.py#L221-L229

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