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

Function test_ffill_bfill_allnans

xarray/tests/test_missing.py:521–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

519
520@requires_bottleneck
521def test_ffill_bfill_allnans():
522 vals = np.full(6, np.nan, dtype=np.float64)
523 expected = xr.DataArray(vals, dims="x")
524
525 actual = expected.ffill(dim="x")
526 assert_equal(actual, expected)
527
528 actual = expected.bfill(dim="x")
529 assert_equal(actual, expected)
530
531
532@requires_bottleneck

Callers

nothing calls this directly

Calls 3

ffillMethod · 0.95
bfillMethod · 0.95
assert_equalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…