diff --git a/etna/transforms/encoders/mean_encoder.py b/etna/transforms/encoders/mean_encoder.py index f8e253fe3..f92a7cd0a 100644 --- a/etna/transforms/encoders/mean_encoder.py +++ b/etna/transforms/encoders/mean_encoder.py @@ -184,7 +184,7 @@ def _count_per_segment_cumstats(target: np.ndarray, categories: np.ndarray) -> T cumsum = np.cumsum(np.where(valid, t, 0)) cumcount = np.cumsum(valid).astype(np.float32) - # Shift statistics by 1 to get statistics not including currect index + # Shift statistics by 1 to get statistics not including current index cumsum = np.roll(cumsum, 1) cumcount = np.roll(cumcount, 1)