Skip to content

Commit da47224

Browse files
committed
Added axis to constructor call in count
1 parent a07ed59 commit da47224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ def count(self):
938938
result = b.notna().astype(int)
939939
result = self._constructor(result, window=window, min_periods=0,
940940
center=self.center,
941+
axis=self.axis,
941942
closed=self.closed).sum()
942943
results.append(result)
943944

0 commit comments

Comments
 (0)