home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 386834171

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/2104#issuecomment-386834171 https://api.github.com/repos/pydata/xarray/issues/2104 386834171 MDEyOklzc3VlQ29tbWVudDM4NjgzNDE3MQ== 1217238 2018-05-05T20:52:57Z 2018-05-05T20:52:57Z MEMBER

I still need to look at the code here, but I don't think we need separate code paths for NaN vs no-NaNs. For example, suppose we have a DataArray with a coordinate x=[0, 1, 2], then da.interp(x=0.5, method='linear') should be equal to 0.5 * (da.sel(x=0) + da.sel(x=1)), regardless of the values of the DataArray. If either da[0] or da[1] is NaN, then the result would be NaN, too.

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