Answers for "fill a numpy array with random numbers"

1

numpy generate random 2d array

import numpy as np
a=np.random.rand(3,3)
print(a)
Posted by: Guest on November-07-2020
0

fill an array with random numbers python

x = random.rand(n)
Posted by: Guest on March-13-2021

Code answers related to "fill a numpy array with random numbers"

Python Answers by Framework

Browse Popular Code Answers by Language