Commit 7720c1d
committed
fix(denoise): work around dask 2024.12 passing removed interpolation kwarg to numpy 2.x
Dask 2024.12.1's _nanquantile_1d_or_missing passes interpolation=None
to np.nanquantile, which was removed in numpy 2.x. Use skipna=False
to avoid the nanquantile code path entirely, filling NaN values before
computing the quantile instead.1 parent 3563be2 commit 7720c1d
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| |||
0 commit comments