Clay Icon

Add `is_first_occurrence` Column to DataFrame for Unique Values

ยท
ยท

Hi, I am looking to add a column is_first_occurrence , it should be True for every first occurrence of the value of a particular column , for all further occurrences it is False. Eg: Name | is_first_occurrence A | True A | False B | True A | False C | True How can I achieve this?