return cluster_classes
clusters = get_cluster_classes(den)
cluster = []
for i in df.index:
    included = False
for j in list(clusters.keys()):
    if i in clusters[j]:
        cluster.append(j)
included = True
if not included:
    cluster.append(None)
df['cluster'] = cluster
Extracting clusters from seaborn clustermap