gL iddlmZddlmZedddZeeeddd d Zeed d d ZeedddZdZdZ dZ dZ y))dedent)doccumsumsum)method operationcy)zS This is the {method} method. It computes the cumulative {operation}. Nwhatevers `/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pandas/tests/util/test_doc.pyrrszT Examples -------- >>> cumavg([1, 2, 3]) 2 cumavgaveragecyNr r s r rrs rcummaxmaximumcyrr r s r rr!rcumminminimumcyrr r s r rr&rrcDtd}tj|k(sJy)NzU This is the cumsum method. It computes the cumulative sum. )rr__doc__docstrs r test_docstring_formattingr+%  F >>V ## #rcDtd}tj|k(sJy)Nz This is the cumavg method. It computes the cumulative average. Examples -------- >>> cumavg([1, 2, 3]) 2 )rrrrs r test_docstring_appendingr!6s%   F >>V ## #rcDtd}tj|k(sJy)NzY This is the cummax method. It computes the cumulative maximum. )rrrrs r test_doc_template_from_funcr#GrrcDtd}tj|k(sJy)NzY This is the cummin method. It computes the cumulative minimum. )rrrrs r test_inherit_doc_templater%RrrN) textwraprpandas.util._decoratorsrrrrrrr!r#r%r rr r(s'H&'        VH 2 3 VH 2 3 $$"$$r