home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 326753554

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/1473#issuecomment-326753554 https://api.github.com/repos/pydata/xarray/issues/1473 326753554 MDEyOklzc3VlQ29tbWVudDMyNjc1MzU1NA== 6815844 2017-09-02T16:10:59Z 2017-09-02T16:10:59Z MEMBER

API question.

.sel(x=[0.0, 1.0], method='nearest', tolerance=0.1) should work exactly same as .reindex(x=[0.0, 1.0], method='nearest', tolerance=0.1)? Currently, .sel method raises KeyError if there is no corresponding value in x. reindex returns np.nan if there is no matching value.

My preference is to make sel work as reindex currently does and to gradually deprecate reindex method, because now the difference between these two methods are very tiny.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  241578773
Powered by Datasette · Queries took 0.618ms · About: xarray-datasette