numpy.random
method
RandomState.
bytes
Return random bytes.
Number of random bytes.
String of length length.
Examples
>>> np.random.bytes(10) ' eh\x85\x022SZ\xbf\xa4' #random
numpy.random.RandomState.choice
numpy.random.RandomState.shuffle