human
Numpy: Get random set of rows from 2D array
assistant
Here is some code to create a new 2 dimensional array containing two random rows from array `A`

A[(np.random.randint(A.shape[0], size=2)), :]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.