@@ -881,10 +881,10 @@ class Window(BaseWindow):
881881 Parameters
882882 ----------
883883 window : int, timedelta, str, offset, or BaseIndexer subclass
884- Size of the moving window.
884+ Interval of the moving window.
885885
886- If an integer, the fixed number of observations used for
887- each window.
886+ If an integer, the delta between the start and end of each window.
887+ The number of points in the window depends on the ``closed`` argument .
888888
889889 If a timedelta, str, or offset, the time period of each window. Each
890890 window will be a variable sized based on the observations included in
@@ -930,17 +930,18 @@ class Window(BaseWindow):
930930
931931 closed : str, default None
932932 Determines the inclusivity of points in the window
933- If ``'right'``, (First, Last] the last point in the window
933+
934+ If ``'right'``, uses the window (first, last] meaning the last point
934935 is included in the calculations.
935936
936- If ``'left'``, [First, Last) the first point in the window
937+ If ``'left'``, uses the window [first, last) meaning the first point
937938 is included in the calculations.
938939
939- If ``'both'``, [First, Last] all points in the window
940- are included in the calculations.
940+ If ``'both'``, uses the window [first, last] meaning all points in
941+ the window are included in the calculations.
941942
942- If ``'neither'``, (First, Last) the first and last points
943- in the window are excludedfrom calculations.
943+ If ``'neither'``, uses the window (first, last) meaning the first
944+ and last points in the window are excluded from calculations.
944945
945946 () and [] are referencing open and closed set
946947 notation respetively.
0 commit comments