zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
U
¬ý°dMã@s2ddlZddlmZddlmZGdd„dƒZdS)éN)Ú DatetimeArrayc@s.eZdZdd„Zej dddg¡dd„ƒZdS)    ÚTestAccumulatorcCsltjdddgdd}| d¡}tjdgddd}t ||¡| d¡}tjdddgdd}t ||¡dS)    Nú
2000-01-01ú
2000-01-02z
2000-01-03ÚD©ÚfreqZcumminéZcummax)rÚ_from_sequence_not_strictÚ _accumulateÚtmZassert_datetime_array_equal)ÚselfÚarrÚresultÚexpected©rúdd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/arrays/datetimes/test_cumulative.pyÚtest_accumulators_freqs,ýú
ÿ 
ýúz&TestAccumulator.test_accumulators_freqÚfuncZcumsumZcumprodc    Cs@tjddgdd}tjtd|›d| |¡W5QRXdS)Nrrrrz Accumulation )Úmatch)rr
ÚpytestZraisesÚ    TypeErrorr )r rrrrrÚtest_accumulators_disallowed#sþûz,TestAccumulator.test_accumulators_disallowedN)Ú__name__Ú
__module__Ú __qualname__rrÚmarkZ parametrizerrrrrrsr)rZpandas._testingZ_testingr Zpandas.core.arraysrrrrrrÚ<module>s