How can I use the unique(a, 'rows') from MATLAB in Python?

Viewed 3040

I'm translating some stuff from MATLAB to the Python language.

There's this command, unique(a), in NumPy. But since the MATLAB program runs the 'rows' command also, it gives something a little different.

Is there a similar command in Python or should I make some algorithm that does the same thing?

2 Answers
Related