

@cache_readonly
def _isnan(self):
    ' return if each value is nan'
    if self._can_hold_na:
        return isnull(self)
    else:
        values = np.empty(len(self), dtype=np.bool_)
        values.fill(False)
        return values

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index._isnan/original