
    Owg                         d dl mZ d dlmZ  edd      d        Z ee ed      dd	      d
        Z eedd      d        Z eedd      d        Zd Zd Z	d Z
d Zy)    )dedent)doccumsumsum)method	operationc                      y)zS
    This is the {method} method.

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

        >>> cumavg([1, 2, 3])
        2
        cumavgaveragec                      y Nr
   r   s    r   r   r      s     	r   cummaxmaximumc                      y r   r
   r   s    r   r   r   !       r   cumminminimumc                      y r   r
   r   s    r   r   r   &   r   r   c                  D    t        d      } t        j                  | k(  sJ y )NzU
        This is the cumsum method.

        It computes the cumulative sum.
        )r   r   __doc__docstrs    r   test_docstring_formattingr   +   %    	F >>V###r   c                  D    t        d      } t        j                  | k(  sJ y )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                  D    t        d      } t        j                  | k(  sJ y )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                  D    t        d      } t        j                  | k(  sJ y )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   