home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 945931002

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/5647#issuecomment-945931002 https://api.github.com/repos/pydata/xarray/issues/5647 945931002 IC_kwDOAMm_X844YcL6 1217238 2021-10-18T16:07:06Z 2021-10-18T16:07:06Z MEMBER

For alignment, I think we could directly call idx.reindex_like(other) for each index in each object to align where other corresponds to the aligned index that matches idx.

Sounds good to me!

If we like, we could probably even add static type information on reindex_like, to require the same index type: ```python T = TypeVar("T", bound="Index")

... def reindex_like(self: T, other: T) -> DimIntIndexers: ... ```

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