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

Function _bfill

xarray/core/missing.py:429–437  ·  view source on GitHub ↗

inverse of ffill

(arr, n=None, axis=-1)

Source from the content-addressed store, hash-verified

427
428
429def _bfill(arr, n=None, axis=-1):
430 """inverse of ffill"""
431 arr = np.flip(arr, axis=axis)
432
433 # fill
434 arr = push(arr, axis=axis, n=n)
435
436 # reverse back to original
437 return np.flip(arr, axis=axis)
438
439
440def ffill(arr, dim=None, limit=None):

Callers

nothing calls this directly

Calls 1

pushFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…