code: def test_incorrect_input_format(self):
      with pytest.raises(
          ValueError,
          match="Provided empty list of time_series."
          " At least one DataFrame must be provided",
      ):
          DynamicDataTransformer(p=3).fit_transform([])
  
      with pytest.raises(
          ValueError,
          match=r"All columns must have numeric data\. "
          r"Consider mapping the following columns to int: \['a'\]",
      ):
          DynamicDataTransformer(p=1).fit_transform(
              pd.DataFrame([["1"]], columns=["a"])
          )
  
      with pytest.raises(
          TypeError,
          match="Time series entries must be instances of `pd.DataFrame`",
      ):
          DynamicDataTransformer(p=1).fit_transform([np.array([1, 2])])
  
      with pytest.raises(
          ValueError,
          match="Index for dataframe must be provided in increasing order",
      ):
          df = pd.DataFrame(
              np.random.random([5, 5]), index=[3, 1, 2, 5, 0]
          )
          DynamicDataTransformer(p=1).fit_transform(df)
  
      with pytest.raises(
          ValueError,
          match="All inputs must have the same columns and same types",
      ):
          df = pd.DataFrame(
              np.random.random([5, 5]),
              columns=["a", "b", "c", "d", "e"],
          )
          df_2 = pd.DataFrame(
              np.random.random([5, 5]),
              columns=["a", "b", "c", "d", "f"],
          )
          DynamicDataTransformer(p=1).fit_transform([df, df_2])
  
      with pytest.raises(
          ValueError,
          match="All inputs must have the same columns and same types",
      ):
          cols = ["a", "b", "c", "d", "e"]
          df = pd.DataFrame(np.random.random([5, 5]), columns=cols)
          df_2 = pd.DataFrame(np.random.random([5, 5]), columns=cols)
          df_2["a"] = df_2["a"].astype(int)
          DynamicDataTransformer(p=1).fit_transform([df, df_2])
  
      with pytest.raises(
          TypeError,
          match="Index must be integers",
      ):
          df = pd.DataFrame(
              np.random.random([5, 5]), index=[0, 1, 2, 3.0, 4]
          )
          DynamicDataTransformer(p=1).fit_transform(df)
  
file_path: causalnex/tests/structure/test_transformers.py
imports: import re
  import numpy
  import pandas
  import pytest
  from sklearn.exceptions import NotFittedError
  from causalnex.structure.transformers import DynamicDataTransformer
label_desc: Use image node_id 3 for calling the TestDynamicDataTransformer obj's underlying member method code with example usage: obj.test_incorrect_input_format() without return types