home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 479942077

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
479942077 MDU6SXNzdWU0Nzk5NDIwNzc= 3213 How should xarray use/support sparse arrays? 1217238 open 0     55 2019-08-13T03:29:42Z 2023-06-07T15:43:55Z   MEMBER      

I'm looking forward to being easily able to create sparse xarray objects from pandas: https://github.com/pydata/xarray/issues/3206

Are there other xarray APIs that could make good use of sparse arrays, or could make sparse arrays easier to use?

Some ideas: - to_sparse()/to_dense() methods for converting to/from sparse without requiring using .data - to_dataframe()/to_series() could grow options for skipping the fill-value in sparse arrays, so they can round-trip MultiIndex data back to pandas - Serialization to/from netCDF files, using some custom convention (see https://github.com/pydata/xarray/issues/1375#issuecomment-402699810)

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

Links from other tables

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