code: def test_exog_to_direct_numpy_when_steps_3_exog_numpy_array_2d():
      """
      Test exog_to_direct_numpy results when using steps 3 and exog is a
      2d numpy array.
      """
      exog = np.column_stack(
          [np.arange(100, 110), np.arange(1000, 1010)]
      )
      results = exog_to_direct_numpy(exog=exog, steps=3)
      expected = np.array(
          [
              [100, 1000, 101, 1001, 102, 1002],
              [101, 1001, 102, 1002, 103, 1003],
              [102, 1002, 103, 1003, 104, 1004],
              [103, 1003, 104, 1004, 105, 1005],
              [104, 1004, 105, 1005, 106, 1006],
              [105, 1005, 106, 1006, 107, 1007],
              [106, 1006, 107, 1007, 108, 1008],
              [107, 1007, 108, 1008, 109, 1009],
          ]
      )
  
      np.testing.assert_array_equal(results, expected)
  
file_path: skforecast/skforecast/utils/tests/test_exog_to_direct_numpy.py
imports: import re
  import pytest
  import numpy
  import pandas
  from skforecast.utils import exog_to_direct_numpy
label_desc: Use image node_id 7 for calling a global function with example usage: test_exog_to_direct_numpy_when_steps_3_exog_numpy_array_2d() without return types