File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -285,11 +285,11 @@ def pipe(
285285 value in one pass, you can do
286286
287287 >>> df.expanding().pipe(lambda x: x.max() - x.min())
288- A
289- 2012-08-02 0
290- 2012-08-03 1
291- 2012-08-04 2
292- 2012-08-05 3""" ,
288+ A
289+ 2012-08-02 0.0
290+ 2012-08-03 1.0
291+ 2012-08-04 2.0
292+ 2012-08-05 3.0 """ ,
293293 )
294294 @Appender (template_pipe )
295295 def pipe (
Original file line number Diff line number Diff line change @@ -2112,11 +2112,11 @@ def pipe(
21122112 value in one pass, you can do
21132113
21142114 >>> df.rolling('2D').pipe(lambda x: x.max() - x.min())
2115- A
2116- 2012-08-02 0
2117- 2012-08-03 1
2118- 2012-08-04 1
2119- 2012-08-05 1""" ,
2115+ A
2116+ 2012-08-02 0.0
2117+ 2012-08-03 1.0
2118+ 2012-08-04 1.0
2119+ 2012-08-05 1.0 """ ,
21202120 )
21212121 @Appender (template_pipe )
21222122 def pipe (
You can’t perform that action at this time.
0 commit comments