MCPcopy Index your code
hub / github.com/pydata/xarray / test_ffill_use_numbagg_dask

Function test_ffill_use_numbagg_dask

xarray/tests/test_missing.py:461–465  ·  view source on GitHub ↗
(compute_backend)

Source from the content-addressed store, hash-verified

459@requires_dask
460@pytest.mark.parametrize("compute_backend", ["numbagg"], indirect=True)
461def test_ffill_use_numbagg_dask(compute_backend):
462 da = xr.DataArray(np.array([4, 5, np.nan], dtype=np.float64), dims="x")
463 da = da.chunk(x=-1)
464 # Succeeds with a single chunk:
465 _ = da.ffill("x").compute()
466
467
468@requires_bottleneck

Callers

nothing calls this directly

Calls 3

chunkMethod · 0.95
ffillMethod · 0.95
computeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…