Title: Generating Random Numbers With Numpy
Slug: generating_random_numbers_with_numpy
Summary: Generating Random Numbers With Numpy
Date: 2016-05-01 12:00
Category: Python
Tags: Basics
Authors: Chris Albon
In [1]:
import numpy as np
In [28]:
np.random.normal()
Out[28]:
In [29]:
np.random.normal(size=4)
Out[29]:
In [30]:
np.random.uniform(size=4)
Out[30]:
In [24]:
np.random.randint(low=1, high=100, size=4)
Out[24]: