home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 418541019

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/2398#issuecomment-418541019 https://api.github.com/repos/pydata/xarray/issues/2398 418541019 MDEyOklzc3VlQ29tbWVudDQxODU0MTAxOQ== 6815844 2018-09-04T22:41:41Z 2018-09-04T22:41:41Z MEMBER

I wonder if we should consider calling this xarray.differentiate instead of xarray.gradient. I think the NumPy function is poorly named for differentiating along a single axis at once.

Agreed. Differentiate is nicer.

Some other api questions arised during the implementation + Do we support differentiate for Dataset? In that case, what should we do for the variables that are independent from the target coordinate? I thought 'keep them as is' is intuitive (and I implemented so), but mathematically, they should be zero.

  • Do we need to sort the array before computing differentiate? np.gradient implicitly assumes the array is sorted (but do nothing about this).
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  356698348
Powered by Datasette · Queries took 0.864ms · About: xarray-datasette