{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/5045","labels_url":"https://api.github.com/repos/scipy/scipy/issues/5045/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/5045/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/5045/events","html_url":"https://github.com/scipy/scipy/pull/5045","id":94817756,"number":5045,"title":"interp1d: add option for fill_value to 'extrapolate'","user":{"login":"cpaulik","id":380927,"avatar_url":"https://avatars.githubusercontent.com/u/380927?v=3","gravatar_id":"","url":"https://api.github.com/users/cpaulik","html_url":"https://github.com/cpaulik","followers_url":"https://api.github.com/users/cpaulik/followers","following_url":"https://api.github.com/users/cpaulik/following{/other_user}","gists_url":"https://api.github.com/users/cpaulik/gists{/gist_id}","starred_url":"https://api.github.com/users/cpaulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpaulik/subscriptions","organizations_url":"https://api.github.com/users/cpaulik/orgs","repos_url":"https://api.github.com/users/cpaulik/repos","events_url":"https://api.github.com/users/cpaulik/events{/privacy}","received_events_url":"https://api.github.com/users/cpaulik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/needs-work","name":"needs-work","color":"fbca04"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.interpolate","name":"scipy.interpolate","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T21:38:39Z","updated_at":"2015-07-16T17:01:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/5045","html_url":"https://github.com/scipy/scipy/pull/5045","diff_url":"https://github.com/scipy/scipy/pull/5045.diff","patch_url":"https://github.com/scipy/scipy/pull/5045.patch"},"body":"I'm not sure if this is too harsh a change but it would remove the bounds checking for nearest neighbor interpolation. This leads to consistent behavior of 1D and ND nearest neighbor interpolation. \r\n\r\nIn light of the discussion in https://github.com/scipy/scipy/issues/4304 about deprecation of interp1d another solution might be to use another 1D interpolator or cKDTree directly (although the performance of that is probably not as good as a special 1D case)\r\n\r\nfix #4233\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/122022621","html_url":"https://github.com/scipy/scipy/pull/5045#issuecomment-122022621","issue_url":"https://api.github.com/repos/scipy/scipy/issues/5045","id":122022621,"user":{"login":"cpaulik","id":380927,"avatar_url":"https://avatars.githubusercontent.com/u/380927?v=3","gravatar_id":"","url":"https://api.github.com/users/cpaulik","html_url":"https://github.com/cpaulik","followers_url":"https://api.github.com/users/cpaulik/followers","following_url":"https://api.github.com/users/cpaulik/following{/other_user}","gists_url":"https://api.github.com/users/cpaulik/gists{/gist_id}","starred_url":"https://api.github.com/users/cpaulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpaulik/subscriptions","organizations_url":"https://api.github.com/users/cpaulik/orgs","repos_url":"https://api.github.com/users/cpaulik/repos","events_url":"https://api.github.com/users/cpaulik/events{/privacy}","received_events_url":"https://api.github.com/users/cpaulik/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T17:01:37Z","updated_at":"2015-07-16T17:01:37Z","body":"I've implemented the necessary checks and tests."}}