I need to find unique rows in a numpy.array.
numpy.array
For example:
>>> a # I have array([[1, 1, 1, 0, 0, 0], [0, 1, 1, 1, 0, 0],
As of NumPy 1.13, one can simply choose the axis for selection of unique values in any N-dim array. To get unique rows, one can do:
unique_rows = np.unique(original_array, axis=0)