(self)
return hpat_pandas_series_loc_impl
Intel Scalable Dataframe Compiler User Guide
    ********************************************

    Pandas API: pandas.Series.loc

    Limitations
    -----------
    - Loc always returns Series.
    - Loc slice is supported only with numeric values and specified ``start``.
    - Loc callable is not supported yet.
    - This function may reveal slower performance than Pandas* on user system. Users should exercise a tradeoff
    between staying in JIT-region with that function or going back to interpreter mode.

    Examples
    --------
    .. literalinclude:: ../../../examples/series/series_loc/series_loc_single_result.py
       :language: python
       :lines: 32-
       :caption: With a scalar integer. Returns single value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_single_result.py
       :cwd: ../../../examples

    .. literalinclude:: ../../../examples/series/series_loc/series_loc_multiple_result.py
       :language: python
       :lines: 34-
       :caption: With a scalar integer. Returns multiple value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_multiple_result.py
       :cwd: ../../../examples

    .. literalinclude:: ../../../examples/series/series_loc/series_loc_slice.py
       :language: python
       :lines: 34-
       :caption: With a slice object. Returns multiple value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_slice.py
       :cwd: ../../../examples

    .. seealso::

        :ref:`DataFrame.at <pandas.DataFrame.at>`
            Access a single value for a row/column label pair.

        :ref:`DataFrame.iloc <pandas.DataFrame.iloc>`
            Access group of rows and columns by integer position(s).

        :ref:`DataFrame.xs <pandas.DataFrame.xs>`
            Returns a cross-section (row(s) or column(s)) from the Series/DataFrame.

        :ref:`Series.loc <pandas.Series.loc>`
            Access group of values using labels.

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

    .. only:: developer
        Test: python -m sdc.runtests -k sdc.tests.test_series.TestSeries.test_series_loc*
Intel Scalable Dataframe Compiler User Guide
    ********************************************
Intel Scalable Dataframe Compiler User Guide ********************************************
def hpat_pandas_series_loc(self):
    """
    Intel Scalable Dataframe Compiler User Guide
    ********************************************

    Pandas API: pandas.Series.loc

    Limitations
    -----------
    - Loc always returns Series.
    - Loc slice is supported only with numeric values and specified ``start``.
    - Loc callable is not supported yet.
    - This function may reveal slower performance than Pandas* on user system. Users should exercise a tradeoff
    between staying in JIT-region with that function or going back to interpreter mode.

    Examples
    --------
    .. literalinclude:: ../../../examples/series/series_loc/series_loc_single_result.py
       :language: python
       :lines: 32-
       :caption: With a scalar integer. Returns single value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_single_result.py
       :cwd: ../../../examples

    .. literalinclude:: ../../../examples/series/series_loc/series_loc_multiple_result.py
       :language: python
       :lines: 34-
       :caption: With a scalar integer. Returns multiple value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_multiple_result.py
       :cwd: ../../../examples

    .. literalinclude:: ../../../examples/series/series_loc/series_loc_slice.py
       :language: python
       :lines: 34-
       :caption: With a slice object. Returns multiple value.
       :name: ex_series_loc

    .. command-output:: python ./series/series_loc/series_loc_slice.py
       :cwd: ../../../examples

    .. seealso::

        :ref:`DataFrame.at <pandas.DataFrame.at>`
            Access a single value for a row/column label pair.

        :ref:`DataFrame.iloc <pandas.DataFrame.iloc>`
            Access group of rows and columns by integer position(s).

        :ref:`DataFrame.xs <pandas.DataFrame.xs>`
            Returns a cross-section (row(s) or column(s)) from the Series/DataFrame.

        :ref:`Series.loc <pandas.Series.loc>`
            Access group of values using labels.

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

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

    _func_name = 'Attribute loc().'

    if not isinstance(self, SeriesType):
        raise TypingError('{} The object must be a pandas.series. Given: {}'.format(_func_name, self))

    def hpat_pandas_series_loc_impl(self):
        return sdc.datatypes.hpat_pandas_getitem_types.series_getitem_accessor_init(self, 'loc')

    return hpat_pandas_series_loc_impl
def hpat_pandas_series_loc ( self ) : _func_name = 'Attribute loc().' if not isinstance ( self , SeriesType ) : raise TypingError ( '{} The object must be a pandas.series. Given: {}' . format ( _func_name , self ) ) def hpat_pandas_series_loc_impl ( self ) : return sdc . datatypes . hpat_pandas_getitem_types . series_getitem_accessor_init ( self , 'loc' ) return hpat_pandas_series_loc_impl