During my project, I needed to measure the relationship between columns within a dataset. Considering numerical columns, a way of schoolbook is enough, computing correlation. However, the real dataset in practice is messy. Most of the dataset was categorical without a hierarchical level. This is the point where I tried…