(self)
Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.notnan.
    .. only:: developer
       Test: python -m sdc.runtests sdc.tests.test_sdc_numpy -k notnan
Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.notnan.
    .. only:: developer
       Test: python -m sdc.runtests sdc.tests.test_sdc_numpy -k notnan
Intel Scalable Dataframe Compiler Developer Guide ************************************************* Parallel replacement of numpy . notnan . .. only :: developer Test : python - m sdc . runtests sdc . tests . test_sdc_numpy - k notnan
def sdc_notnan_overload(self):
    """
    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Parallel replacement of numpy.notnan.
    .. only:: developer
       Test: python -m sdc.runtests sdc.tests.test_sdc_numpy -k notnan
    """

    if not isinstance(self, types.Array):
        return None

    ty_checker = TypeChecker("numpy-like 'notnan'")
    dtype = self.dtype
    isnan = get_isnan(dtype)
    if isinstance(dtype, (types.Integer, types.Boolean, bool)):
        def sdc_notnan_int_impl(self):
            length = len(self)
            res = numpy.ones(shape=length, dtype=numpy.bool_)

            return res

        return sdc_notnan_int_impl

    if isinstance(dtype, types.Float):
        def sdc_notnan_float_impl(self):
            length = len(self)
            res = numpy.empty(shape=length, dtype=numpy.bool_)
            for i in prange(length):
                res[i] = not isnan(self[i])

            return res

        return sdc_notnan_float_impl

    ty_checker.raise_exc(dtype, 'int or float', 'self.dtype')
def sdc_notnan_overload ( self ) : if not isinstance ( self , types . Array ) : return None ty_checker = TypeChecker ( "numpy-like 'notnan'" ) dtype = self . dtype isnan = get_isnan ( dtype ) if isinstance ( dtype , ( types . Integer , types . Boolean , bool ) ) : def sdc_notnan_int_impl ( self ) : length = len ( self ) res = numpy . ones ( shape = length , dtype = numpy . bool_ ) return res return sdc_notnan_int_impl if isinstance ( dtype , types . Float ) : def sdc_notnan_float_impl ( self ) : length = len ( self ) res = numpy . empty ( shape = length , dtype = numpy . bool_ ) for i in prange ( length ) : res [ i ] = not isnan ( self [ i ] ) return res return sdc_notnan_float_impl ty_checker . raise_exc ( dtype , 'int or float' , 'self.dtype' )