code: def test_reshape_with_nan(params, arr_desired):
      arr_actual = _reshape_with_nan(**params)
      np.testing.assert_array_equal(arr_actual, arr_desired)
  
file_path: pyts/pyts/preprocessing/tests/test_discretizer.py
imports: import numpy
  import pytest
  import re
  from pyts.preprocessing.discretizer import _uniform_bins, _digitize, _reshape_with_nan
  from pyts.preprocessing import KBinsDiscretizer
label_desc: Use image node_id 3 for calling a global function with example usage: test_reshape_with_nan(params, arr_desired) without return types