How can I test whether there are values shared in multiple columns of a pandas DataFrame? For example, this is OK:
A B C
0 aaa fff lll
1 bbb ggg mmm
2 ccc hhh nnn
3 ddd iii ooo
4 eee jjj ppp
but this is not
A B C
0 aaa fff lll
1 bbb ggg mmm
2 ccc hhh nnn
3 ddd iii bbb
4 eee jjj ppp
because bbb exists in multiple columns (A and C).