HF RL Explorer

Task: NumPy Unique with Order Preserved

Task: NumPy Unique with Order Preserved: a task in Terminal-Lego-15k (Harbor dataset). When using numpy.unique() on an array, the function returns unique elements in sorted order. However, in many cases, you need to preserve the original order of first appearance of each unique element.

The task

When using `numpy.unique()` on an array, the function returns unique elements in sorted order. However, in many cases, you need to preserve the original order of first appearance of each unique element.

Part of PrimeIntellect/Terminal-Lego-15k.