home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1489539728

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/7699#issuecomment-1489539728 https://api.github.com/repos/pydata/xarray/issues/7699 1489539728 IC_kwDOAMm_X85YyJKQ 2448579 2023-03-30T01:05:57Z 2023-03-30T01:05:57Z MEMBER

Thanks we definitely want everything that works for sel to work for drop_sel.

https://github.com/pydata/xarray/blob/44488288fd8309e3468ee45a5f7408d75a21f493/xarray/core/dataset.py#L5292

index.get_indexer(labels_for_dim) will get you the correct indices to drop. Though probably there's another method that could work.

cc @benbovy

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