o
    _~#g                     @   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   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/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*    

	


