numpy.random.Generator.rand, code example
Example 1: random matrix python
np.random.rand(3,2)
Example 2: numpy generate random 2d array
import numpy as np
a=np.random.rand(3,3)
print(a)
np.random.rand(3,2)
import numpy as np
a=np.random.rand(3,3)
print(a)