Finding unique columns and their indices in NumPy matrix efficiently
I have a very large binary matrix (for example, shape = (210000, 5000))
and want to find unique columns and indices of this matrix. Memory is important to me, so that is why I am looking for a method that is more memory-efficient than np.unique()
.