pull_requests: 787098153
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
787098153 | PR_kwDOAMm_X84u6iop | 6019 | closed | 0 | Use complex nan by default when interpolating out of bounds | 1005109 | - [X] Tests added - [X] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` When using the `da.interp` to interpolate outside of the bounds, by default, `fill_value` is set to `np.nan` to set the values to NaN. This is completely fine with real values, but with complex values this will in fact set the values to `np.nan + 0j` which can be a source of confusion and bugs. This PR propose to detect if values are complex, and if so, to use `np.nan + np.nan*1j` as the default `fill_value` | 2021-11-23T15:38:25Z | 2021-11-28T04:40:06Z | 2021-11-28T04:40:06Z | 2021-11-28T04:40:06Z | fb01c72626a61310f874664cdb4d7b4c1b327bb3 | 0 | 93ef228399cdd9aff2c53c924e3b131bf8d9696f | dc68e0c997495f4a5966433ee602df548e9a0108 | CONTRIBUTOR | 13221727 | https://github.com/pydata/xarray/pull/6019 |
Links from other tables
- 1 row from pull_requests_id in labels_pull_requests