Skip to content

Commit 037b84e

Browse files
carlosdanielcsantosjreback
carlosdanielcsantos
authored andcommitted
Fixing style
1 parent c18a31b commit 037b84e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/computation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ from present information back to past information. This allows the rolling windo
487487
pd.Timestamp('20130101 09:00:04'),
488488
pd.Timestamp('20130101 09:00:06')])
489489
490-
df["right"] = df.rolling('2s', closed='right').x.sum() # default
490+
df["right"] = df.rolling('2s', closed='right').x.sum() # default
491491
df["both"] = df.rolling('2s', closed='both').x.sum()
492492
df["left"] = df.rolling('2s', closed='left').x.sum()
493493
df["neither"] = df.rolling('2s', closed='neither').x.sum()

pandas/tests/test_window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def test_closed(self):
435435
df = DataFrame({'A': [0, 1, 2, 3, 4]})
436436
# closed only allowed for datetimelike
437437
with self.assertRaises(ValueError):
438-
df.rolling(window=3, closed='both')
438+
df.rolling(window=3, closed='both')
439439

440440

441441
class TestExpanding(Base):

0 commit comments

Comments
 (0)