MCPcopy
hub / github.com/AutoViML/AutoViz / find_remove_duplicates

Function find_remove_duplicates

autoviz/AutoViz_Utils.py:1538–1545  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

1536
1537# Removes duplicates from a list to return unique values - USED ONLYONCE
1538def find_remove_duplicates(values):
1539 output = []
1540 seen = set()
1541 for value in values:
1542 if value not in seen:
1543 output.append(value)
1544 seen.add(value)
1545 return output
1546
1547
1548#################################################################################

Callers 5

AutoViz_MainMethod · 0.90
draw_cat_vars_hvFunction · 0.90
draw_date_vars_hvFunction · 0.90
draw_distplotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected