home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1333117804

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
1333117804 I_kwDOAMm_X85PdcNs 6899 interpolate_na documentation 18460767 closed 0     3 2022-08-09T11:30:22Z 2024-01-19T14:28:26Z 2024-01-19T14:28:26Z NONE      

What is your issue?

According to the documentation for xarray.Dataset.interpolate_na, additional keywords are passed on to numpy.interp when method="linear". In one of the examples one such additional keyword is fill_value (="extrapolate").

But according the the linked documentation for numpy.interp, that function only takes left, right and period as keyword arguments.

The given example does work though... Does it really use numpy.interp or does it perhaps use scipy.interpolate.interp1d, which does have a keyword called fill_value?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6899/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

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