
    Mh                         S SK Jr  S SKJr  \" SSS9S 5       r\" \\" S5      SS	S9S
 5       r\" \SSS9S 5       r\" \SSS9S 5       rS rS r	S r
S rg)    )dedent)doccumsumsum)method	operationc                     g)zG
This is the {method} method.

It computes the cumulative {operation}.
N whatevers    L/var/www/html/env/lib/python3.13/site-packages/pandas/tests/util/test_doc.pyr   r      s        zT
        Examples
        --------

        >>> cumavg([1, 2, 3])
        2
        cumavgaveragec                     g Nr
   r   s    r   r   r      s     	r   cummaxmaximumc                     g r   r
   r   s    r   r   r   !       r   cumminminimumc                     g r   r
   r   s    r   r   r   &   r   r   c                  F    [        S5      n [        R                  U :X  d   eg )NzU
        This is the cumsum method.

        It computes the cumulative sum.
        )r   r   __doc__docstrs    r   test_docstring_formattingr   +   %    	F >>V###r   c                  F    [        S5      n [        R                  U :X  d   eg )Nz
        This is the cumavg method.

        It computes the cumulative average.

        Examples
        --------

        >>> cumavg([1, 2, 3])
        2
        )r   r   r   r   s    r   test_docstring_appendingr!   6   s%    
	F >>V###r   c                  F    [        S5      n [        R                  U :X  d   eg )NzY
        This is the cummax method.

        It computes the cumulative maximum.
        )r   r   r   r   s    r   test_doc_template_from_funcr#   G   r   r   c                  F    [        S5      n [        R                  U :X  d   eg )NzY
        This is the cummin method.

        It computes the cumulative minimum.
        )r   r   r   r   s    r   test_inherit_doc_templater%   R   r   r   N)textwrapr   pandas.util._decoratorsr   r   r   r   r   r   r!   r#   r%   r
   r   r   <module>r(      s     ' H& ' 

	 		 VH	2	 3	 VH	2	 3	$$"$$r   