I tried to compare the two, one is pandas.unique()
and another one is numpy.unique()
, and I found out that the latter actually surpass the first one.
I am not sure whether the excellency is linear or not.
Can anyone please tell me why such a difference exists, with regards to the code implementation? In what case should I use which?