pandas 1.4.2

ParametersReturns
fillna(self: 'IntervalArrayT', value=None, method=None, limit=None) -> 'IntervalArrayT'

Parameters

value : scalar, dict, Series

If a scalar value is passed it is used to fill all missing values. Alternatively, a Series or dict can be used to fill in different values for each index. The value should not be a list. The value(s) passed should be either Interval objects or NA/NaN.

method : {'backfill', 'bfill', 'pad', 'ffill', None}, default None

(Not implemented yet for IntervalArray) Method to use for filling holes in reindexed Series

limit : int, default None

(Not implemented yet for IntervalArray) If method is specified, this is the maximum number of consecutive NaN values to forward/backward fill. In other words, if there is a gap with more than this number of consecutive NaNs, it will only be partially filled. If method is not specified, this is the maximum number of entries along the entire axis where NaNs will be filled.

Returns

filled : IntervalArray with NA/NaN filled

Fill NA/NaN values using the specified method.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/core/arrays/interval.py#835
type: <class 'function'>
Commit: