Python Dataframe Into Arraylist To Hashset Implementation