(self, other, method='pearson', min_periods=None)
return hpat_pandas_series_corr_impl
Intel Scalable Dataframe Compiler User Guide
    ********************************************

    Pandas API: pandas.Series.corr

    Limitations
    -----------
    - Parameter ``method`` is supported only with default value 'pearson'

    Examples
    --------
    .. literalinclude:: ../../../examples/series/series_corr.py
       :language: python
       :lines: 27-
       :caption: Compute correlation with other Series, excluding missing values.
       :name: ex_series_corr

    .. command-output:: python ./series/series_corr.py
       :cwd: ../../../examples

    .. seealso::
        :ref:`Series.cov <pandas.Series.cov>`
            Compute covariance with Series, excluding missing values.

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas Series method :meth:`pandas.Series.corr` implementation.

    .. only:: developer
        Test: python -m sdc.runtests -k sdc.tests.test_series.TestSeries.test_series_corr*
Intel Scalable Dataframe Compiler User Guide
    ********************************************
Intel Scalable Dataframe Compiler User Guide ********************************************
def hpat_pandas_series_corr(self, other, method='pearson', min_periods=None):
    """
    Intel Scalable Dataframe Compiler User Guide
    ********************************************

    Pandas API: pandas.Series.corr

    Limitations
    -----------
    - Parameter ``method`` is supported only with default value 'pearson'

    Examples
    --------
    .. literalinclude:: ../../../examples/series/series_corr.py
       :language: python
       :lines: 27-
       :caption: Compute correlation with other Series, excluding missing values.
       :name: ex_series_corr

    .. command-output:: python ./series/series_corr.py
       :cwd: ../../../examples

    .. seealso::
        :ref:`Series.cov <pandas.Series.cov>`
            Compute covariance with Series, excluding missing values.

    Intel Scalable Dataframe Compiler Developer Guide
    *************************************************
    Pandas Series method :meth:`pandas.Series.corr` implementation.

    .. only:: developer
        Test: python -m sdc.runtests -k sdc.tests.test_series.TestSeries.test_series_corr*
    """

    _func_name = 'Method corr().'

    ty_checker = TypeChecker(_func_name)
    ty_checker.check(self, SeriesType)

    ty_checker.check(other, SeriesType)

    if not isinstance(self.data.dtype, types.Number):
        ty_checker.raise_exc(self.data, 'number', 'self.data')

    if not isinstance(other.data.dtype, types.Number):
        ty_checker.raise_exc(other.data, 'number', 'other.data')

    if not isinstance(min_periods, (int, types.Integer, types.Omitted, types.NoneType)) and min_periods is not None:
        ty_checker.raise_exc(min_periods, 'int64', 'min_periods')

    def hpat_pandas_series_corr_impl(self, other, method='pearson', min_periods=None):
        return numpy_like.corr(self, other, method, min_periods)

    return hpat_pandas_series_corr_impl
def hpat_pandas_series_corr ( self , other , method = 'pearson' , min_periods = None ) : _func_name = 'Method corr().' ty_checker = TypeChecker ( _func_name ) ty_checker . check ( self , SeriesType ) ty_checker . check ( other , SeriesType ) if not isinstance ( self . data . dtype , types . Number ) : ty_checker . raise_exc ( self . data , 'number' , 'self.data' ) if not isinstance ( other . data . dtype , types . Number ) : ty_checker . raise_exc ( other . data , 'number' , 'other.data' ) if not isinstance ( min_periods , ( int , types . Integer , types . Omitted , types . NoneType ) ) and min_periods is not None : ty_checker . raise_exc ( min_periods , 'int64' , 'min_periods' ) def hpat_pandas_series_corr_impl ( self , other , method = 'pearson' , min_periods = None ) : return numpy_like . corr ( self , other , method , min_periods ) return hpat_pandas_series_corr_impl