code: def test_y_dataset(y_dataset_regressor):
      assert (
          y_dataset_regressor.shape[0] == 20
      ), "Number of rows should be 20"
      assert list(y_dataset_regressor) == [
          22.0,
          38.0,
          26.0,
          35.0,
          35.0,
          29.69911764705882,
          54.0,
          2.0,
          27.0,
          14.0,
          4.0,
          58.0,
          20.0,
          39.0,
          14.0,
          55.0,
          2.0,
          29.69911764705882,
          31.0,
          29.69911764705882,
      ]
  
file_path: dtreeviz/testing/testlib/models/test_decision_tree_xgb_regressor.py
imports: import joblib
  import numpy
  import pytest
  import xgboost
  from dtreeviz.models.xgb_decision_tree import ShadowXGBDTree
label_desc: Use image node_id 4 for calling a global function with example usage: test_y_dataset(y_dataset_regressor) without return types