HOME


sh-3ll 1.0
DIR:/usr/local/lib64/python3.6/site-packages/pandas/tests/util/__pycache__/
Upload File :
Current File : //usr/local/lib64/python3.6/site-packages/pandas/tests/util/__pycache__/test_doc.cpython-36.pyc
3

���h��@s�ddlmZddlmZeddd�dd��Zeeed�dd	d�d
d��Zeeddd�d
d��Zeeddd�dd��Zdd�Zdd�Z	dd�Z
dd�ZdS)�)�dedent)�doc�cumsum�sum)�methodZ	operationcCsdS)zS
    This is the {method} method.

    It computes the cumulative {operation}.
    N�)�whateverrr�</tmp/pip-build-5_djhm0z/pandas/pandas/tests/util/test_doc.pyrszT
        Examples
        --------

        >>> cumavg([1, 2, 3])
        2
        �cumavgZaveragecCsdS)Nr)rrrr	r
s�cummax�maximumcCsdS)Nr)rrrr	r!s�cumminZminimumcCsdS)Nr)rrrr	r
&scCstd�}tj|kst�dS)NzU
        This is the cumsum method.

        It computes the cumulative sum.
        )rr�__doc__�AssertionError)�docstrrrr	�test_docstring_formatting+srcCstd�}tj|kst�dS)Nz�
        This is the cumavg method.

        It computes the cumulative average.

        Examples
        --------

        >>> cumavg([1, 2, 3])
        2
        )rr
rr)rrrr	�test_docstring_appending6srcCstd�}tj|kst�dS)NzY
        This is the cummax method.

        It computes the cumulative maximum.
        )rrrr)rrrr	�test_doc_template_from_funcGsrcCstd�}tj|kst�dS)NzY
        This is the cummin method.

        It computes the cumulative minimum.
        )rr
rr)rrrr	�test_inherit_doc_templateRsrN)�textwraprZpandas.util._decoratorsrrr
rr
rrrrrrrr	�<module>s