home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 617375991

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/3936#issuecomment-617375991 https://api.github.com/repos/pydata/xarray/issues/3936 617375991 MDEyOklzc3VlQ29tbWVudDYxNzM3NTk5MQ== 3958036 2020-04-21T19:46:09Z 2020-04-21T19:46:09Z CONTRIBUTOR

I guess this would happen if somebody calls np.argmin(xarray_object)? Does this happen from inside xarray somewhere, or in external code?

If it's the former, then we should just fix xarray not to do this. If it's only in external code, I would still consider breaking this behavior.

test_units.py has a couple of tests that apply numpy functions to xr.Variables, xr.DataArrays and xr.Datasets. Those tests break for argmin and argmax without the out argument. Should I just remove the argmin and argmax function calls? The tests would still call them as methods.

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