pydit.wrangling.various.deduplicate_list¶
- pydit.wrangling.various.deduplicate_list(list_to_deduplicate, default_field_name='column', force_lower_case=True)[source]¶
Deduplicates a list
Uses enumerate and a loop, so it is not good for very long lists This function is for dealing with header/field names, where performance is not really an issue
Returns a list of fields with no duplicates and suffixes where there were duplicates V0.1 - 14 May 2022