code: def test_reshape_data():
      x = [[1, 2], [3, 4]] * 2
      labels = ["a", "b", "a", "b"]
      assert np.array_equal(
          helpers.reshape_data(x, labels, labels)[0],
          [np.array([[1, 2], [1, 2]]), np.array([[3, 4], [3, 4]])],
      )
  
file_path: hypertools/tests/test_helpers.py
imports: import numpy
  import hypertools._shared.helpers
label_desc: Use image node_id 14 for calling a global function with example usage: test_reshape_data() without return types