numpy unique axis

#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:
import numpy as np
unique_rows = np.unique(original_array, axis=0)

Here is what the above code is Doing:
1. np.unique(original_array) – This returns a 1-D array of unique values in the original array.
2. np.unique(original_array, axis=0) – This returns a 2-D array of unique rows in the original array.