home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 691157835

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/4409#issuecomment-691157835 https://api.github.com/repos/pydata/xarray/issues/4409 691157835 MDEyOklzc3VlQ29tbWVudDY5MTE1NzgzNQ== 14808389 2020-09-11T15:19:40Z 2020-09-11T15:21:56Z MEMBER

yes, sorry, you're right, that is indeed non-deterministic, and exactly the problem I'm having with the doctests.

Interestingly, this seems to be deterministic per python session: running ```python import xarray as xr

ds = xr.Dataset( {"a": (("x", "y"), [[0, 1], [2, 3]])}, coords={"x": ["a", "b"], "y": [0, 1]} ) print(ds) print(ds + 1) print(ds) print(ds + 1) `` will print the same result fordsandds + 1`, but when rerunning in a new session, the coordinate order may be changed (more coordinates increase the probability for the change).

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