class_docstr: A filter which removes the last `n` time steps from a time series.
code: def __init__(self, prediction_length: int):
      self.prediction_length = prediction_length
  
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict, List
  import numpy
  from gluonts.dataset.field_names import FieldName
label_desc: Use image node_id 1 to create a new EndOfSeriesCutFilter object from inherited base classes: Filter with example: obj = EndOfSeriesCutFilter(prediction_length)