code: def as_dict(self):
      past = keymap(lambda key: f"past_{key}", self._past)
      future = keymap(lambda key: f"future_{key}", self._future)
  
      return {**past, **future, **self.static}
  
imports: from __future__ import annotations
  import dataclasses
  import itertools
  from operator import itemgetter
  from typing import Optional, List
  import numpy
  from toolz import first, keymap, valmap, dissoc, merge
  from gluonts import maybe
  from gluonts.itertools import pluck_attr, rows_to_columns
  from ._base import Pad
  from ._period import Periods, period
  from ._repr import html_table
  from ._util import _replace
  from ._time_series import TimeSeries
  from ._time_frame import BatchTimeFrame, TimeFrame
label_desc: Use image node_id 12 for calling the SplitFrame obj's underlying member method code with example usage: obj.as_dict() and returns: dict