code: def _calc_jaccard(
      markers1: dict,
      markers2: dict,
  ):
      
      jacc_results=np.zeros((len(markers1), len(markers2)))
  
      j=0
      for marker_group in markers1:
          tmp = [len(markers2[i].intersection(markers1[marker_group]))/
                 len(markers2[i].union(markers1[marker_group])) for i in markers2.keys()]
          jacc_results[j,:] = tmp
          j += 1
  
      return jacc_results
docs: Calculate jaccard index between the values of two dictionaries
  
      Note: dict values must be sets