home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1962432308

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1962432308 PR_kwDOAMm_X85dzwDL 8376 Add chunkedduckarray to _typing 14371165 closed 0     0 2023-10-25T23:09:46Z 2023-10-26T19:10:41Z 2023-10-26T01:13:54Z MEMBER   0 pydata/xarray/pulls/8376

Add more chunkedarray typing options. Also clean up some ideas that didn't work out. Using TypeVar for arrays for example has turned out to not work that great because of the very common dtype changes.

If you want to check if an ArrayLike is a chunked array: python if isinstance(data, _chunkedarrayfunction_or_api): data.chunk() However try to rely on mypy in private functions over isinstance checks for better performance: python def _do_compute(data: chunkedduckarray[Any, _DType]) -> duckarray[Any, _DType]: return data.compute()

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8376/reactions",
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 1 row from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.808ms · About: xarray-datasette