
    bMh                         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dS )    )dedent)doccumsumsum)method	operationc                     dS )zS
    This is the {method} method.

    It computes the cumulative {operation}.
    N whatevers    Z/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pandas/tests/util/test_doc.pyr   r      s          zT
        Examples
        --------

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

        It computes the cumulative sum.
        )r   r   __doc__docstrs    r   test_docstring_formattingr   +   1    	 F >V######r   c                  H    t          d          } t          j        | k    sJ d S )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   s1    
	 F >V######r   c                  H    t          d          } t          j        | k    sJ d S )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                  H    t          d          } t          j        | k    sJ d S )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(      sB         ' ' ' ' ' ' H&&&  '& 

F	    	 	 	 VH	222	 	 32	 VH	222	 	 32	$ $ $$ $ $"$ $ $$ $ $ $ $r   