home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 907433192

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
907433192 MDExOlB1bGxSZXF1ZXN0NjU4MjgxODgy 5408 `differentiate` should not cast to `numpy.array` 14808389 closed 0     1 2021-05-31T12:38:00Z 2021-06-09T15:06:36Z 2021-06-07T22:07:51Z MEMBER   0 pydata/xarray/pulls/5408

Apparently the test coverage was not high enough: we were passing a Variable object to numpy.gradient. This only adds tests for DataArray.differentiate because Dataset.differentiate doesn't seem to be as easy to check (the axis might be different).

  • [x] Closes xarray-contrib/pint-xarray#106
  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5408/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

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