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