code: def test_cramers_v_min_category_ratio():
      dist1 = np.array(
          ["a"] * 200 + ["b"] * 800 + ["c"] * 10 + ["d"] * 10
      )
      dist2 = np.array(["a"] * 400 + ["b"] * 620)
      res = cramers_v(
          dist1=dist1, dist2=dist2, min_category_size_ratio=0
      )
      assert_that(res, close_to(0.228, 0.01))
      res_min_cat_ratio = cramers_v(
          dist1=dist1, dist2=dist2, min_category_size_ratio=0.1
      )
      assert_that(res_min_cat_ratio, close_to(0.208, 0.01))
  
imports: import numpy
  from hamcrest import assert_that, calling, close_to, equal_to, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.utils.distribution.drift import cramers_v, earth_movers_distance, kolmogorov_smirnov
label_desc: Use image node_id 12 for calling a global function with example usage: test_cramers_v_min_category_ratio() without return types