Skip to content

Commit 584e56b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3760c9d commit 584e56b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/window/rolling.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,8 +2289,9 @@ def pipe(
22892289
>>> h = lambda x, arg2, arg3: x + 1 - arg2 * arg3
22902290
>>> g = lambda x, arg1: x * 5 / arg1
22912291
>>> f = lambda x: x**4
2292-
>>> df = pd.DataFrame({'A': [1, 2, 3, 4]},
2293-
... index=pd.date_range('2012-08-02', periods=4))
2292+
>>> df = pd.DataFrame(
2293+
... {"A": [1, 2, 3, 4]}, index=pd.date_range("2012-08-02", periods=4)
2294+
... )
22942295
>>> h(g(f(df.rolling("2D")), arg1=1), arg2=2, arg3=3) # doctest: +SKIP
22952296
22962297
You can write

0 commit comments

Comments
 (0)