home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 942459595

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/5843#issuecomment-942459595 https://api.github.com/repos/pydata/xarray/issues/5843 942459595 IC_kwDOAMm_X844LMrL 35968931 2021-10-13T16:09:15Z 2021-10-13T16:09:15Z MEMBER

It seems better to introduce a new property on both DataArrays and Datasets that always returns a dict

That's a good suggestion - then we can have backwards compatibility whilst also allowing intuitive code that treats dataarrays and datasets similarly, e.g:

python def is_core_dim_chunked(obj, core_dim): return len(obj.chunksizes[core_dim]) > 1

chunksizes seems too similar to chunks

I think chunksizes is quite good: it is in keeping with sizes, and auto-complete would also show both chunks and chunksizes when a user types .ch[tab] which I think is helpful.

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