def __init__(self, window: int, centered: bool = True):
        """
        Parameters
        ----------
        window
            The length of the window over which to average values
        centered
            Set the labels at the center of the window. If not set, the averaged values are lagging after
            the original values.
        """
        super().__init__()
        self.window = window
        self.centered = centered

        Parameters
        ----------
        window
            The length of the window over which to average values
        centered
            Set the labels at the center of the window. If not set, the averaged values are lagging after
            the original values.
        
darts/models/filtering/moving_average_filter.py