Run »
from numpy import random x = random.chisquare(df=2, size=(2, 3)) print(x)