@@ -5363,7 +5363,8 @@ def compound(self, axis=None, skipna=None, level=None):
5363
5363
5364
5364
cls .cummin = _make_cum_function (
5365
5365
cls , 'cummin' , name , name2 , axis_descr , "cumulative minimum" ,
5366
- lambda y , axis : np .minimum .accumulate (y , axis ), "min" , np .inf , np .nan )
5366
+ lambda y , axis : np .minimum .accumulate (y , axis ), "min" ,
5367
+ np .inf , np .nan )
5367
5368
cls .cumsum = _make_cum_function (
5368
5369
cls , 'cumsum' , name , name2 , axis_descr , "cumulative sum" ,
5369
5370
lambda y , axis : y .cumsum (axis ), "sum" , 0. , np .nan )
@@ -5372,7 +5373,8 @@ def compound(self, axis=None, skipna=None, level=None):
5372
5373
lambda y , axis : y .cumprod (axis ), "prod" , 1. , np .nan )
5373
5374
cls .cummax = _make_cum_function (
5374
5375
cls , 'cummax' , name , name2 , axis_descr , "cumulative max" ,
5375
- lambda y , axis : np .maximum .accumulate (y , axis ), "max" , - np .inf , np .nan )
5376
+ lambda y , axis : np .maximum .accumulate (y , axis ), "max" ,
5377
+ - np .inf , np .nan )
5376
5378
5377
5379
cls .sum = _make_stat_function (
5378
5380
cls , 'sum' , name , name2 , axis_descr ,
0 commit comments