The astrodendro package provides an easy way to compute dendrograms of observed or simulated Astronomical data in Python.
The easiest way to think of a dendrogram is to think of a tree that represents the hierarchy of the structures in your data. If you consider a two-dimensional map of a hierarchical structure that looks like:
the equivalent dendrogram/tree representation would look like: