zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
U
®ý°d.ã@s˜ddlmZddlmZeddddd„ƒZeeedƒdd    dd
d„ƒZeed d dd d „ƒZeeddddd„ƒZdd„Zdd„Z    dd„Z
dd„Z dS)é)Údedent)ÚdocÚcumsumÚsum)ÚmethodZ    operationcCsdS)zS
    This is the {method} method.
 
    It computes the cumulative {operation}.
    N©©ZwhateverrrúQd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/util/test_doc.pyrszT
        Examples
        --------
 
        >>> cumavg([1, 2, 3])
        2
        ÚcumavgZaveragecCsdS©Nrrrrr    r
sÚcummaxÚmaximumcCsdSr rrrrr    r !sÚcumminZminimumcCsdSr rrrrr    r&scCstdƒ}tj|kst‚dS)NzU
        This is the cumsum method.
 
        It computes the cumulative sum.
        )rrÚ__doc__ÚAssertionError©Zdocstrrrr    Útest_docstring_formatting+sÿrcCstdƒ}tj|kst‚dS)Nz¥
        This is the cumavg method.
 
        It computes the cumulative average.
 
        Examples
        --------
 
        >>> cumavg([1, 2, 3])
        2
        )rr
rrrrrr    Útest_docstring_appending6sÿ rcCstdƒ}tj|kst‚dS)NzY
        This is the cummax method.
 
        It computes the cumulative maximum.
        )rr rrrrrr    Útest_doc_template_from_funcGsÿrcCstdƒ}tj|kst‚dS)NzY
        This is the cummin method.
 
        It computes the cumulative minimum.
        )rrrrrrrr    Útest_inherit_doc_templateRsÿrN) ÚtextwraprZpandas.util._decoratorsrrr
r rrrrrrrrr    Ú<module>s(  
 
ÿ    ô