home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 97237275

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
97237275 MDExOlB1bGxSZXF1ZXN0NDA4MzkzNjU= 495 ENH: finite difference method `diff` 358378 closed 0     12 2015-07-25T16:33:20Z 2015-08-21T18:13:00Z 2015-08-21T18:12:57Z CONTRIBUTOR   0 pydata/xarray/pulls/495

adds diff method to both DataArray and Dataset. closes #490

Still to be done: - tests

Possible enhancements: - allow numeric axis instead of dim for DataArray objects. The signature would then be DataArray.diff(dim=None, n=1, axis=None) and I would need to check that exactly one of dim and axis is None. I find it a bit ugly; DataArray.diff(n=1, dim=None, axis=None) would be nicer in my view. But then the signatures for DataArray.diff and Dataset.diff would be different, which is also not nice. - allow specifying the new coordinate array explicitly via a coord kwarg instead of just taking the coordinate values of the upper bounds.

What do you think?

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

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 12 rows from issue in issue_comments
Powered by Datasette · Queries took 5.376ms · About: xarray-datasette