docstr: Record any information needed by transform.
docstr_tok: ["Record","any","information","needed","by","transform","."]
code: def check(self, x):
      """Record any information needed by transform."""
      if not isinstance(x, (pd.DataFrame, np.ndarray, tf.data.Dataset)):
          raise TypeError(
              "Expect the data in TimeseriesInput to be numpy.ndarray"
              " or tf.data.Dataset or pd.DataFrame, but got {type}.".format(
                  type=type(x)
              )
          )
  
imports: import numpy
  import pandas
  import tensorflow
  from autokeras.engine import adapter
label_desc: Use image node_id 2 for calling the TimeseriesAdapter obj's underlying member method code with example usage: obj.check(x) without return types