issues: 112088944
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
112088944 | MDExOlB1bGxSZXF1ZXN0NDgwMzk1NDg= | 629 | ENH: add tolerance argument to .sel and .reindex | 1217238 | closed | 0 | 1307323 | 2 | 2015-10-19T07:44:25Z | 2015-10-21T07:08:00Z | 2015-10-21T03:47:45Z | MEMBER | 0 | pydata/xarray/pulls/629 |
``` In [5]: array = xray.DataArray([1, 2, 3], dims='x') In [6]: array.reindex(x=[0.9, 1.5], method='nearest', tolerance=0.2) Out[6]: <xray.DataArray (x: 2)> array([ 2., nan]) Coordinates: * x (x) float64 0.9 1.5 ``` This feature requires pandas v0.17 or newer. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |