def fillna(self, value=None, method=None, limit=None):
if method is not None:<EOL><INDENT>raise TypeError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>if limit is not None:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>if not isinstance(value, ABCInterval):<EOL><INDENT>msg = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(type(value).__name__))<EOL>raise TypeError(msg)<EOL><DEDENT>value = getattr(value, '<STR_LIT>', value)<EOL>self._check_closed_matches(value, name="<STR_LIT:value>")<EOL>left = self.left.fillna(value=value.left)<EOL>right = self.right.fillna(value=value.right)<EOL>return self._shallow_copy(left, right)<EOL>
Fill NA/NaN values using the specified method.

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