home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 713172015

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/4482#issuecomment-713172015 https://api.github.com/repos/pydata/xarray/issues/4482 713172015 MDEyOklzc3VlQ29tbWVudDcxMzE3MjAxNQ== 2560426 2020-10-20T22:17:08Z 2020-10-20T22:21:14Z NONE

On the topic of fillna(), I'm seeing an odd unrelated issue that I don't have an explanation for.

I have a dataarray x that I'm able to call x.compute() on.

When I do x.fillna(0).compute(), I get the following error:

KeyError: ('where-3a3[...long hex string]', 100, 0, 0, 4)

Stack trace shows it's failing on a get_dependencies(dsk, key, task, as_list) call from a cull(dsk, keys) call in dask/optimization.py. get_dependencies itself is defined in dask/core.py.

I have no idea how to reproduce this simply... If it helps narrow things down, x is a dask array, one of the dimensions is a datetime64, and all other are strings. I've tried using both the default engine and netcdf4 when loading with open_mfdataset.

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