home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 416785448

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/2388#issuecomment-416785448 https://api.github.com/repos/pydata/xarray/issues/2388 416785448 MDEyOklzc3VlQ29tbWVudDQxNjc4NTQ0OA== 1217238 2018-08-29T00:41:14Z 2018-08-29T00:41:36Z MEMBER

We have a broadcast_equals() method on DataArray and Dataset that broadcasts the arguments first and could be used for this purpose, e.g., assert da1.broadcast_equals(da2)

I'm slightly reluctant to add a new testing function specifically for this, because they we have to explain the difference between "equivalent" and "equal". Maybe some new keyword arguments for assert_equal would be appropriate? e.g., allow_transpose=True and/or broadcast=True?

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