issue_comments: 1457965323
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/1482#issuecomment-1457965323 | https://api.github.com/repos/pydata/xarray/issues/1482 | 1457965323 | IC_kwDOAMm_X85W5skL | 40465719 | 2023-03-07T10:58:12Z | 2023-03-07T10:58:12Z | NONE |
I also recently came across awkward/jagged/ragged arrays, and that's exactly how I would like to operate on multi-dimensional (2D in referenced case) sparse data: Instead of allocating memory with NaNs, empty slots are just not materialized by using You basically create a dense duck array from sparse dtypes, as the Pandas sparse user guide shows:
So, all the shape, dtype, and ndim requirements are satisfied, and xarray could implement this as a duck array. And while you can already wrap sparse duck arrays with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
243964948 |