(self, other=None,
                                                pairwise=None, ddof=1)
Check types of parameters of series.rolling.cov()
Check types of parameters of series.rolling.cov()
Check types of parameters of series . rolling . cov ()
def _hpat_pandas_series_rolling_cov_check_types(self, other=None,
                                                pairwise=None, ddof=1):
    """Check types of parameters of series.rolling.cov()"""
    ty_checker = TypeChecker('Method rolling.cov().')
    ty_checker.check(self, SeriesRollingType)

    accepted_other = (bool, Omitted, NoneType, SeriesType)
    if not isinstance(other, accepted_other) and other is not None:
        ty_checker.raise_exc(other, 'Series', 'other')

    accepted_pairwise = (bool, Boolean, Omitted, NoneType)
    if not isinstance(pairwise, accepted_pairwise) and pairwise is not None:
        ty_checker.raise_exc(pairwise, 'bool', 'pairwise')

    if not isinstance(ddof, (int, Integer, Omitted)):
        ty_checker.raise_exc(ddof, 'int', 'ddof')
def _hpat_pandas_series_rolling_cov_check_types ( self , other = None , pairwise = None , ddof = 1 ) : ty_checker = TypeChecker ( 'Method rolling.cov().' ) ty_checker . check ( self , SeriesRollingType ) accepted_other = ( bool , Omitted , NoneType , SeriesType ) if not isinstance ( other , accepted_other ) and other is not None : ty_checker . raise_exc ( other , 'Series' , 'other' ) accepted_pairwise = ( bool , Boolean , Omitted , NoneType ) if not isinstance ( pairwise , accepted_pairwise ) and pairwise is not None : ty_checker . raise_exc ( pairwise , 'bool' , 'pairwise' ) if not isinstance ( ddof , ( int , Integer , Omitted ) ) : ty_checker . raise_exc ( ddof , 'int' , 'ddof' )