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(
285
285
value in one pass, you can do
286
286
287
287
>>> 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 """ ,
293
293
)
294
294
@Appender (template_pipe )
295
295
def pipe (
Original file line number Diff line number Diff line change @@ -2112,11 +2112,11 @@ def pipe(
2112
2112
value in one pass, you can do
2113
2113
2114
2114
>>> 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 """ ,
2120
2120
)
2121
2121
@Appender (template_pipe )
2122
2122
def pipe (
You can’t perform that action at this time.
0 commit comments