home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 75454929

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
75454929 MDExOlB1bGxSZXF1ZXN0MzUxOTIwNzQ= 410 ENH: Add .sel() method to Dataset and DataArray 1217238 closed 0   987654 0 2015-05-12T04:17:36Z 2015-05-14T02:27:45Z 2015-05-14T02:27:43Z MEMBER   0 pydata/xarray/pulls/410

sel() now supports the method parameter, which works like the paramter of the same name on reindex(). It provides a simple interface for doing nearest- neighbor interpolation:

``` In [12]: ds.sel(x=1.1, method='nearest') Out[12]: <xray.Dataset> Dimensions: () Coordinates: x int64 1 Data variables: y int64 2

In [13]: ds.sel(x=[1.1, 2.1], method='pad') Out[13]: <xray.Dataset> Dimensions: (x: 2) Coordinates: * x (x) int64 1 2 Data variables: y (x) int64 2 3 ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/410/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

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