home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 908447693

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/5697#issuecomment-908447693 https://api.github.com/repos/pydata/xarray/issues/5697 908447693 IC_kwDOAMm_X842Jc_N 4160723 2021-08-30T15:38:42Z 2021-08-30T15:38:42Z MEMBER

In #5692 (a551c7f) they are always coerced to arrays before maybe be converted as scalars.

This is not exactly true: slices are kept as-is.

3153 is actually a workaround specific to Pandas index limitations (only float64 floating -point labels supported), so it would make sense to move this within PandasIndex.

Other use-cases like xoak point-wise indexing only support Variable or DataArray objects as indexers (to ensure that all indexers have the same dimensions).

So it would probably be better to leave indexers untouched and let Index objects do the validation and conversion.

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