code: def assert_cluster_splits_equal(array1, array2):
      def find_splits(x):
          return np.where(np.hstack((np.array([1]), np.diff(x))))[0]
  
      np.testing.assert_array_equal(
          find_splits(array1), find_splits(array2)
      )
  
imports: import pickle
  import unittest
  import numpy
  import pandas
  from kmodes.kmodes import KModes
  from kmodes.util.dissim import ng_dissim, jaccard_dissim_binary, jaccard_dissim_label
label_desc: Use image node_id 1 for calling a global function with example usage: assert_cluster_splits_equal(array1, array2) and returns: np