home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1468367690

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/6899#issuecomment-1468367690 https://api.github.com/repos/pydata/xarray/issues/6899 1468367690 IC_kwDOAMm_X85XhYNK 61923007 2023-03-14T15:53:44Z 2023-03-14T15:53:44Z NONE

From what I was able to gather, numpy.interp only takes three keyword arguments as **kwargs i.e. left, right, and period but not fill_value. So when passing fill_value as a keyword argument to xarray.Dataset.interpolate_na with method="linear", it does not use numpy.interp but it uses scipy.interpolate.interp1d(), which provides the fill_value parameter.

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