I am trying to group the indexes of the customers based on the following condition with python.
If database contains the same contact number or email, the result shou