This was excellent thank you. I have often used sets to dedupe, but never used a dictionary to.
Great tip!
Sets are the ideal route if you don’t care about order (and all elements are hashable)
This was excellent thank you. I have often used sets to dedupe, but never used a dictionary to.
Great tip!
Sets are the ideal route if you don’t care about order (and all elements are hashable)