home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 666616365

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/4291#issuecomment-666616365 https://api.github.com/repos/pydata/xarray/issues/4291 666616365 MDEyOklzc3VlQ29tbWVudDY2NjYxNjM2NQ== 5635139 2020-07-30T19:14:26Z 2020-07-30T19:14:44Z MEMBER

I agree this isn't that clear. I think min_count will solve this.

In [20]: da.resample(time='1d').sum(min_count=1) Out[20]: <xarray.DataArray (time: 153)> array([ nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,

IIRC this mirrors pandas, would be keen to know if that's not the case

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