Suppose I have the following numpy array of strings:
a = numpy.array(['apples', 'foobar', ‘bananas’, 'cowboy'])
I would like to generate len(a)/2 random pairs of strings from that matrix in another numpy matrix without repeating elements in each pair, with unique pairs and also with unique values for each pair (each value is unique for each pair). I also need to fix the random number generator so the pairs are always the same no matter how many times the algorithm is run. Is it possible to do that?