home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 375684859

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/2010#issuecomment-375684859 https://api.github.com/repos/pydata/xarray/issues/2010 375684859 MDEyOklzc3VlQ29tbWVudDM3NTY4NDg1OQ== 6815844 2018-03-23T14:34:53Z 2018-03-23T14:34:53Z MEMBER

Ok, so ds.rolling.mean allows for min_periods while ds.rolling.construct.mean allows for fill_value?

Yes. Originally, construct method is designed for more advanced use cases, such as strided moving average, weighted mean, short time FFT, etc.

On the other hand, using skipna=False resores the default behaviour or ds.rolling

It is not strictly true. min_periods also considers nan values that already exist in the original array. This behavior is the same with pandas rolling.

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