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