home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1346344694

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/7368#issuecomment-1346344694 https://api.github.com/repos/pydata/xarray/issues/7368 1346344694 IC_kwDOAMm_X85QP5b2 4160723 2022-12-12T11:55:10Z 2022-12-12T11:55:10Z MEMBER

My suggestion would be: coords passed as a dict: create default indexes coords passed as IndexedCoordinates: do not create defaults

So if we already have some coordinate data as a dict but don't want any default index, we would need to do this:

python ds = xr.Dataset(coords=xr.Coordinates(my_coord_dict))

instead of this:

python ds = xr.Dataset(coords=my_coord_dict)

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