home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 524439002

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/issues/3252#issuecomment-524439002 https://api.github.com/repos/pydata/xarray/issues/3252 524439002 MDEyOklzc3VlQ29tbWVudDUyNDQzOTAwMg== 1217238 2019-08-23T19:43:21Z 2019-08-23T19:43:21Z MEMBER

We could implement linear interpolation just as w * array.sel(..., method='ffill') + (1 - w) * array.sel(..., method='bfill'), where w is calculated from the indexes. This is probably about as efficient as scipy. Numba could be slightly faster (by avoiding a few memory allocations) but it will be hard to make it work as generally, especially on duck arrays.

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