o
    Û­jÔ  ã                   @   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)ÚmethodÚ	operationc                 C   s   dS )zS
    This is the {method} method.

    It computes the cumulative {operation}.
    N© ©Úwhateverr   r   úW/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pandas/tests/util/test_doc.pyr      s    zT
        Examples
        --------

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

        It computes the cumulative sum.
        )r   r   Ú__doc__©Údocstrr   r   r   Útest_docstring_formatting+   ó   ÿr   c                  C   r   )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   r   )NzY
        This is the cummax method.

        It computes the cumulative maximum.
        )r   r   r   r   r   r   r   Útest_doc_template_from_funcG   r   r   c                  C   r   )NzY
        This is the cummin method.

        It computes the cumulative minimum.
        )r   r   r   r   r   r   r   Útest_inherit_doc_templateR   r   r   N)Útextwrapr   Úpandas.util._decoratorsr   r   r   r   r   r   r   r   r   r   r   r   r   Ú<module>   s*    

ÿ	ô


