code: def test_get_unique_rows(self):
      result = get_unique_rows(STOCKS_CAT)
      expected = np.array(
          [
              ["tel", "USA"],
              ["tel", "CN"],
              ["nrg", "USA"],
              ["nrg", "NL"],
              ["tech", "USA"],
              ["cons", "USA"],
              ["fin", "USA"],
          ]
      )
      # Check if each row is found exactly 1 time.
      for row in expected:
          mask = result == row
          matches = np.where(np.all(mask, axis=1))
          self.assertEqual(len(matches), 1)
  
file_path: kmodes/kmodes/util/tests/test_util.py
imports: import unittest
  import numpy
  from sklearn.utils._testing import assert_array_equal
  from kmodes.util import get_max_value_key, encode_features, get_unique_rows, decode_centroids
label_desc: Use image node_id 3 for calling the TestUtils obj's underlying member method code with example usage: obj.test_get_unique_rows() without return types