home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 230529125

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
230529125 MDU6SXNzdWUyMzA1MjkxMjU= 1420 .equals() on a coordinate takes attributes into comparison 5572303 closed 0     6 2017-05-22T21:48:44Z 2019-05-23T03:11:33Z 2019-05-23T03:11:33Z CONTRIBUTOR      

Is the following the right behavior? ```

da = xr.DataArray(range(3), [('x', range(2000, 2003))]) ws = xr.DataArray([1 for i in range(3)], [('x', range(2000, 2003))]) da.coords['x'].equals(ws.coords['x']) True da['some_attr'] = 0 da.coords['x'].equals(ws.coords['x']) False `` I'm just trying to see if the coordinates are the same, but somehow the dataarray's attribute becomes part of the comparison. I'd expect that in.identical(), but not in.equals()`.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1420/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.732ms · About: xarray-datasette