home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 708588777

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/4501#issuecomment-708588777 https://api.github.com/repos/pydata/xarray/issues/4501 708588777 MDEyOklzc3VlQ29tbWVudDcwODU4ODc3Nw== 1217238 2020-10-14T18:41:21Z 2020-10-14T18:41:32Z MEMBER

If we changed isel() to only modify data variables, then we would be in trouble with something like isel(x=slice(3)). The coordinate system would be inconsistent if we slice only the data variables but not the coordinates.

There's a bit of a conflict here between two desirable properties:

  1. Methods on a Dataset only modify data variables, leaving coordinates unchanged
  2. Methods on a Dataset keep the entire coordinate system for the Dataset consistent, including coordinates
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  718716799
Powered by Datasette · Queries took 0.701ms · About: xarray-datasette