scipy.cluster.hierarchy.DisjointSet. subsets# DisjointSet.subsets()[source]# Get all the subsets in the disjoint set. Returns: resultlistSubsets in the disjoint set.