Hi all. I have data in column level_1 and level_2. It is a simple Hierarchy so as such there should be no Level_2 values with more than one corresponding Level_1.
For example, for the level_1 'DARK', Level_2 values may be "PURPLE" and "BLUE". Similarly, for the level_1 "LIGHT" level_2 may be "PINK" and "AQUA". However, the level_2 value "PINK" should not ever fall with the level_1 'DARK', just as "PURPLE" should never be 'LIGHT'.
I am trying to create a code that finds level_2 values that fall under multiple level_1 values so they can be manually fixed. Any ideas?
I hope this makes sense to someone and sorry if I've worded incorrectly. I am very new to this.