staircase.Stairs.fillna#
- Stairs.fillna(value)#
Define values for (a copy of) self where it is undefined.
- Parameters:
- value{int, float, “backfill”, “bfill”, “pad”, “ffill”,
Stairs} If value is and int, float or
Stairs, then it is used to provide values where self is undefined. If value is a string then it indicates a method for propagating values of the step function across undefined intervals:pad / ffillpropagate last defined value forwardbackfill / bfillpropagate next defined value backward
- value{int, float, “backfill”, “bfill”, “pad”, “ffill”,
- Returns:
See also
Examples