code: def test_dataset_to_numpy_combined(sample_dataset):
      mu, tau, data = sample_dataset
      var_names, data = xarray_to_ndarray(data, combined=True)
  
      assert len(var_names) == 2
      assert (data[var_names.index("mu")] == mu.reshape(1, 6)).all()
      assert (data[var_names.index("tau")] == tau.reshape(1, 6)).all()
  
imports: import importlib
  import numpy
  import pytest
  import xarray
  from ...data import from_dict
  from ...plots.backends.matplotlib import dealiase_sel_kwargs, matplotlib_kwarg_dealiaser
  from ...plots.plot_utils import compute_ranks, filter_plotters_list, format_sig_figs, get_plotting_function, make_2d, set_bokeh_circular_ticks_labels, vectorized_to_hex
  from ...rcparams import rc_context
  from ...sel_utils import xarray_sel_iter, xarray_to_ndarray
  from ...stats.density_utils import get_bins
  from ...utils import get_coords
  from ..helpers import running_on_ci
label_desc: Use image node_id 6 for calling a global function with example usage: test_dataset_to_numpy_combined(sample_dataset) without return types