home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 692609976

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/3570#issuecomment-692609976 https://api.github.com/repos/pydata/xarray/issues/3570 692609976 MDEyOklzc3VlQ29tbWVudDY5MjYwOTk3Ng== 10194086 2020-09-15T09:57:47Z 2020-09-15T09:57:47Z MEMBER

The straightforward idea unfortunately leads to some test failures. I.e. the following does not work:

```python def fillna(data, other): # we need to pass data first so pint has a chance of returning the # correct unit # TODO: revert after https://github.com/hgrecco/pint/issues/1019 is fixed mask = isnull(data)

if mask.any():
    return where(~mask, data, other)
else:
    return data

```

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