Ë
    ¤eh>  ã                  óP  — d Z ddlmZ ddlmZ ddlmZ  edi e¤ŽZdd„ZdZ	 ed«      j                  dd	d
«      Z ed«      j                  dd	d
«      Z ed«      j                  dd	d
«      Z ed«      j                  dd	d
«      Z ed«      j                  dd	d
«      ZdZddd„Zy)z<Any shareable docstring components for rolling/expanding/ewmé    )Úannotations)Údedent)Ú_shared_docsc                ó*   — | › ddt        | «      z  › d�S )zCreate numpydoc section headerú
ú-)Úlen)Úheaders    úT/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pandas/core/window/doc.pyÚcreate_section_headerr      s   € àˆX�R˜œc &›kÑ)Ð*¨"Ð-Ð-ó    z;
Calculate the {window_method} {aggregation_description}.

zp
    Series or DataFrame
        Return type is the same as the original object with ``np.float64`` dtype.

    r   Ú é   a6  
    pandas.Series.{window_method} : Calling {window_method} with Series data.
    pandas.DataFrame.{window_method} : Calling {window_method} with DataFrames.
    pandas.Series.{agg_method} : Aggregating {agg_method} for Series.
    pandas.DataFrame.{agg_method} : Aggregating {agg_method} for DataFrame.

    z€
    numeric_only : bool, default False
        Include only float, int, boolean columns.

        .. versionadded:: 1.5.0

    z^
    **kwargs
        Keyword arguments to configure the ``SciPy`` weighted window type.

    a/  
    func : function
        Must produce a single value from an ndarray input if ``raw=True``
        or a single value from a Series if ``raw=False``. Can also accept a
        Numba JIT function with ``engine='numba'`` specified.

    raw : bool, default False
        * ``False`` : passes each row or column as a Series to the
          function.
        * ``True`` : the passed function will receive ndarray
          objects instead.
          If you are just applying a NumPy reduction function this will
          achieve much better performance.

    engine : str, default None
        * ``'cython'`` : Runs rolling apply through C-extensions from cython.
        * ``'numba'`` : Runs rolling apply through JIT compiled code from numba.
          Only available when ``raw`` is set to ``True``.
        * ``None`` : Defaults to ``'cython'`` or globally setting ``compute.use_numba``

    engine_kwargs : dict, default None
        * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
        * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
          and ``parallel`` dictionary keys. The values must either be ``True`` or
          ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
          ``{{'nopython': True, 'nogil': False, 'parallel': False}}`` and will be
          applied to both the ``func`` and the ``apply`` rolling aggregation.

    args : tuple, default None
        Positional arguments to be passed into func.

    kwargs : dict, default None
        Keyword arguments to be passed into func.

    z�See :ref:`window.numba_engine` and :ref:`enhancingperf.numba` for extended documentation and performance considerations for the Numba engine.

c                óZ   — t        d«      j                  ddd«      j                  d| «      S )Na  
    engine : str, default None
        * ``'cython'`` : Runs the operation through C-extensions from cython.
        * ``'numba'`` : Runs the operation through JIT compiled code from numba.
        * ``None`` : Defaults to ``'cython'`` or globally setting ``compute.use_numba``

          .. versionadded:: {version}.0

    engine_kwargs : dict, default None
        * For ``'cython'`` engine, there are no accepted ``engine_kwargs``
        * For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
          and ``parallel`` dictionary keys. The values must either be ``True`` or
          ``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
          ``{{'nopython': True, 'nogil': False, 'parallel': False}}``

          .. versionadded:: {version}.0

    r   r   r   z	{version})r   Úreplace)Úversions    r   Úwindow_agg_numba_parametersr   ]   s0   € äðó	
÷& 
‰��r˜1Ó	ß	‰�˜gÓ	&ð+r   N© )r
   ÚstrÚreturnr   )z1.3)r   r   r   r   )Ú__doc__Ú
__future__r   Útextwrapr   Úpandas.core.shared_docsr   Údictr   Útemplate_headerr   Útemplate_returnsÚtemplate_see_alsoÚkwargs_numeric_onlyÚkwargs_scipyÚwindow_apply_parametersÚnumba_notesr   r   r   r   ú<module>r#      sð   ðÙ BÝ "å å 0áÑ#�lÑ#€ó.ð
 S€áðó÷
 
�'ˆ$��AÓð ñ ðó÷ 
�'ˆ$��AÓð ñ ðó÷ 
�'ˆ$��AÓð ñ ðó÷
 
�'ˆ$��AÓð ñ !ð!ó#÷F 
�'ˆ$��AÓðG ðLVð õr   