| 3413 | |
| 3414 | |
| 3415 | class BFill(FFill): |
| 3416 | func = M.bfill |
| 3417 | |
| 3418 | @property |
| 3419 | def before(self): |
| 3420 | # bfill is the opposite direction of ffill, so |
| 3421 | # we swap before with after of ffill. |
| 3422 | return super().after |
| 3423 | |
| 3424 | @property |
| 3425 | def after(self): |
| 3426 | # bfill is the opposite direction of ffill, so |
| 3427 | # we swap after with before of ffill. |
| 3428 | return super().before |
| 3429 | |
| 3430 | |
| 3431 | class Shift(MapOverlap): |