How to create a numpy array with random numbers in Python
Channel: nevsky.programming
Date: 2021-06-15

In this tutorial, I'm gonna be showing you how to create a numpy array with random numbers in Python.


With rand() function from the random module we're going to create 5 random numbers between 0 and 1 with uniform distribution. If we want to get integer numbers we're going to use randint() function.