+
    Ŝi                    `   R t ^ RIHt ^ RIHt ^ RIHt ]! R/ ]B tR R ltRt	]! R4      P                  RR	^4      t]! R
4      P                  RR	^4      t]! R4      P                  RR	^4      t]! R4      P                  RR	^4      t]! R4      P                  RR	^4      tRtRtRR R lltR# )z<Any shareable docstring components for rolling/expanding/ewm)annotations)dedent)_shared_docsc                    V ^8  d   QhRRRR/# )   headerstrreturn )formats   "_/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/pandas/core/window/doc.py__annotate__r      s     . .# .# .    c                2    V  RR\        V 4      ,           R2# )zCreate numpydoc section header
-)len)r   s   &r   create_section_headerr      s    XRc&k)*"--r   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    a  
    Series.{window_method} : Calling {window_method} with Series data.
    DataFrame.{window_method} : Calling {window_method} with DataFrames.
    Series.{agg_method} : Aggregating {agg_method} for Series.
    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.

    aI  
Apply a ``func`` with arguments to this %(klass)s object and return its result.

Use `.pipe` when you want to improve readability by chaining together
functions that expect Series, DataFrames, GroupBy, Rolling, Expanding or Resampler
objects.
Instead of writing

>>> h = lambda x, arg2, arg3: x + 1 - arg2 * arg3
>>> g = lambda x, arg1: x * 5 / arg1
>>> f = lambda x: x ** 4
>>> df = pd.DataFrame({'A': [1, 2, 3, 4]}, index=pd.date_range('2012-08-02', periods=4))
>>> h(g(f(df.rolling('2D')), arg1=1), arg2=2, arg3=3)  # doctest: +SKIP

You can write

>>> (df.rolling('2D')
...    .pipe(f)
...    .pipe(g, arg1=1)
...    .pipe(h, arg2=2, arg3=3))  # doctest: +SKIP

which is much more readable.

Parameters
----------
func : callable or tuple of (callable, str)
    Function to apply to this %(klass)s object or, alternatively,
    a `(callable, data_keyword)` tuple where `data_keyword` is a
    string indicating the keyword of `callable` that expects the
    %(klass)s object.
*args : iterable, optional
       Positional arguments passed into `func`.
**kwargs : dict, optional
         A dictionary of keyword arguments passed into `func`.

Returns
-------
%(klass)s
    The original object with the function `func` applied.

See Also
--------
Series.pipe : Apply a function with arguments to a series.
DataFrame.pipe: Apply a function with arguments to a dataframe.
apply : Apply function to each group instead of to the
    full %(klass)s object.

Notes
-----
See more `here
<https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#piping-function-calls>`_

Examples
--------
%(examples)s
zSee :ref:`window.numba_engine` and :ref:`enhancingperf.numba` for extended documentation and performance considerations for the Numba engine.

c                    V ^8  d   QhRRRR/# )r   versionr   r	   r
   )r   s   "r   r   r      s        r   c                Z    \        R 4      P                  RR^4      P                  RV 4      # )a  
    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   z	{version})r   replace)r   s   &r   window_agg_numba_parametersr      s0    	
& 
r1		g	&+r   Nr
   )z1.3)__doc__
__future__r   textwrapr   pandas.core.shared_docsr   dictr   template_headerr   template_returnstemplate_see_alsokwargs_numeric_onlykwargs_scipywindow_apply_parameterstemplate_pipenumba_notesr   r
   r   r   <module>r'      s    B "  0#l#.
 S
 
'$A   
'$A   
'$A  
 
'$A  !!#F 
'$AG J7tV  r   