Skip to content

Commit

Permalink
Fix rolling docstrings (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Dec 30, 2021
1 parent 6190c9c commit 0bbc68f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions py-polars/polars/internals/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ def rolling_min(
"""
apply a rolling min (moving min) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -1456,7 +1456,7 @@ def rolling_max(
"""
Apply a rolling max (moving max) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -1488,7 +1488,7 @@ def rolling_mean(
"""
Apply a rolling mean (moving mean) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -1549,7 +1549,7 @@ def rolling_sum(
"""
Apply a rolling sum (moving sum) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -1582,7 +1582,7 @@ def rolling_std(
Compute a rolling std dev
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -1615,7 +1615,7 @@ def rolling_var(
Compute a rolling variance.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down
12 changes: 6 additions & 6 deletions py-polars/polars/internals/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ def rolling_min(
"""
apply a rolling min (moving min) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -2472,7 +2472,7 @@ def rolling_max(
"""
Apply a rolling max (moving max) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -2517,7 +2517,7 @@ def rolling_mean(
"""
Apply a rolling mean (moving mean) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -2562,7 +2562,7 @@ def rolling_sum(
"""
Apply a rolling sum (moving sum) over the values in this array.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -2608,7 +2608,7 @@ def rolling_std(
Compute a rolling std dev
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down Expand Up @@ -2640,7 +2640,7 @@ def rolling_var(
Compute a rolling variance.
A window of length `window_size` will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the `weight` vector. The resultingParameters
will (optionally) be multiplied with the weights given by the `weight` vector. The resulting
values will be aggregated to their sum.
Parameters
Expand Down

0 comments on commit 0bbc68f

Please sign in to comment.