Something worth remembering!
If you have unique data, it is much much quicker to check if data exists in a Python Set object than a Python List object.
Python Set > Python List
TIP: Use sets when you have a unique dataset of values, and need to check for existence in the set!
Comments
Post a Comment