numpy random documentation code example Example: numpy random in python import numpy as np a=np.random.rand(5,2) print(a)