inverse of ffill
(arr, n=None, axis=-1)
| 427 | |
| 428 | |
| 429 | def _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 | |
| 440 | def ffill(arr, dim=None, limit=None): |
nothing calls this directly
no test coverage detected
searching dependent graphs…