home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 655810311

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/4208#issuecomment-655810311 https://api.github.com/repos/pydata/xarray/issues/4208 655810311 MDEyOklzc3VlQ29tbWVudDY1NTgxMDMxMQ== 1217238 2020-07-08T23:31:21Z 2020-07-08T23:31:21Z MEMBER

Maybe something like this would work? def is_duck_dask_array(x): return getattr(x, 'chunks', None) is not None

xarray.DataArray would pass this test (chunks is either None for non-dask arrays or a tuple for dask arrays), so this would be consistent with what we already do.

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