home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1239114118

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/pull/6971#issuecomment-1239114118 https://api.github.com/repos/pydata/xarray/issues/6971 1239114118 IC_kwDOAMm_X85J22GG 4160723 2022-09-07T09:03:46Z 2022-09-07T09:03:46Z MEMBER

Should we make the index_cls argument of set_xindex optional?

I ended up doing it. It is convenient for setting a pandas index for a non-dimension coordinate, which is currently not possible to do with set_index(). For unindexed dimension coordinates (e.g., now possible after renaming coordinates or dimensions), I find the syntax set_index(x="x") a bit weird compared to set_xindex("x").

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