I had an Excel database that I wanted to put a filter on the data with Python so that if we had a relation from A-> B and also a relation from B-> A, these would be re