I have a primary two-dimensional numpy array with multiple duplicates and a secondary one with the unique values of the first.
[[ 0 0 1 ] [ 1 0 2 ] [ 2