I want to generate 200 random binary arrays of size 30, but I need all of them to be unique! I use to following to generate the arrays:
import numpy as np
parents = []
for i in range(200):
parents.append(np.random.choice([0, 1], size=(30)))
parents = np.vstack(parents)
Are the arrays made in this way already unique (if so, how may I check that)? If not, how do I modify my code so I get unique arrays?
[0,1]and[1,0]the same arrays?