a
    Pf                     @   s   d dl mZ d dlmZ eddddd Zeeeddd	dd
d Zeeddddd Zeeddddd Zdd Zdd Z	dd Z
dd ZdS )    )dedent)doccumsumsum)methodZ	operationc                 C   s   dS )zS
    This is the {method} method.

    It computes the cumulative {operation}.
    N Zwhateverr   r   S/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pandas/tests/util/test_doc.pyr      s    zT
        Examples
        --------

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

        It computes the cumulative sum.
        )r   r   __doc__Zdocstrr   r   r	   test_docstring_formatting+   s    r   c                  C   s   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   r   r   r	   test_docstring_appending6   s    r   c                  C   s   t d} tj| ksJ d S )NzY
        This is the cummax method.

        It computes the cumulative maximum.
        )r   r   r   r   r   r   r	   test_doc_template_from_funcG   s    r   c                  C   s   t d} tj| ksJ d S )NzY
        This is the cummin method.

        It computes the cumulative minimum.
        )r   r   r   r   r   r   r	   test_inherit_doc_templateR   s    r   N)textwrapr   Zpandas.util._decoratorsr   r   r
   r   r   r   r   r   r   r   r   r   r	   <module>   s(   

	


