code: def test_reduce_dims_1d():
      reduced_data_1d = reducer(data, ndims=1)
      assert reduced_data_1d[0].shape == (10, 1)
  
imports: import numpy
  from hypertools.tools.reduce import reduce
  from hypertools.plot.plot import plot
label_desc: Use image node_id 5 for calling a global function with example usage: test_reduce_dims_1d() without return types