I am rewriting one code
nd = unique(nd,'rows');
Documentation from The Mathworks
C = unique(A,'rows')
treats each row ofA
as a single entity and returns the unique rows ofA
. The rows of the arrayC
are in sorted order.
Is there something like this in Python or I have to use sort?