Python Identify Duplicates Stata