I have a dataframe like as follows,
import pandas as pd t1_ids = [4991, 6899, 6665, 4991, 7010, 6899] t2_ids = [6899, 6908, 4869, 6899, 6899, 4991] values = [1,