Remove Array Duplicates

Remove duplicate values from an array while preserving the original order of first occurrences.

Code

General
list(dict.fromkeys(arr))

Parameters

Array with duplicates

Server

More Python Snippets