Skip to content
Snippets Groups Projects

Horizontal axis rolling

Merged Peter Lünenschloß requested to merge haxisRolling into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -218,7 +218,7 @@ def _hroll(
f_out = pd.Series(np.nan, index=data[field].to_pandas().index)
f_out[window - 1 :] = f_result
if center:
f_out = f_out.shift(-window // 2)
f_out = f_out.shift(-int(np.floor(window / 2)))
for f in target:
data[f] = d_out
Loading