home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1047947800

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/3868#issuecomment-1047947800 https://api.github.com/repos/pydata/xarray/issues/3868 1047947800 IC_kwDOAMm_X84-dmoY 4160723 2022-02-22T16:02:21Z 2022-02-22T16:02:21Z MEMBER

Would it be conceivable to implement an alternative form of coordinate index which is explicitly a linear coordinate axis, storing only a first point and a step (possibly a last point but that would obviously be redundant with the length of the dimension)

It would be possible to do that after the explicit index refactor is complete (see https://github.com/pydata/xarray/projects/1).

5692 already adds several Xarray methods like isel, sel, concat, stack, roll, rename, etc. to the new Xarray Index base class so that it will be possible to provide alternative indexes as Index sub-classes with custom implementations.

We could certainly add an Index.pad method.

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