code: def test_exog_to_direct_when_steps_series_len_exog_1d_float_int(
      exog, dtype
  ):
      """
      Test exog_to_direct results when using steps equal to series len (5) and
      exog is a 1d pandas Series or 1 column DataFrame of ints or floats.
      """
      results = exog_to_direct(exog=exog, steps=len(exog))
      expected = pd.DataFrame(
          data=np.array([[0, 1, 2, 3, 4]]),
          index=pd.RangeIndex(start=4, stop=5, step=1),
          columns=[
              "exog_step_1",
              "exog_step_2",
              "exog_step_3",
              "exog_step_4",
              "exog_step_5",
          ],
      ).astype(
          {
              "exog_step_1": dtype,
              "exog_step_2": dtype,
              "exog_step_3": dtype,
              "exog_step_4": dtype,
              "exog_step_5": dtype,
          }
      )
  
      pd.testing.assert_frame_equal(results, expected)
  
file_path: skforecast/skforecast/utils/tests/test_exog_to_direct.py
imports: import re
  import pytest
  import numpy
  import pandas
  from skforecast.utils import exog_to_direct
  from pandas.api.types import CategoricalDtype
label_desc: Use image node_id 3 for calling a global function with example usage: test_exog_to_direct_when_steps_series_len_exog_1d_float_int(exog, dtype) without return types