diff --git a/pandas/core/window.py b/pandas/core/window.py index 31874a96f8111..0e0dc4cff2e21 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -893,10 +893,8 @@ class Expanding(_Rolling_and_Expanding): def __init__(self, obj, min_periods=1, freq=None, center=False, axis=0, **kwargs): - return super(Expanding, self).__init__(obj=obj, - min_periods=min_periods, - freq=freq, center=center, - axis=axis) + super(Expanding, self).__init__(obj=obj, min_periods=min_periods, + freq=freq, center=center, axis=axis) @property def _constructor(self):