current position:Home>Numpy creates an array of the specified data range

Numpy creates an array of the specified data range

2022-02-03 00:55:01 CSDN Q & A

use numpy Create a two row three column , Data element range is ±0.1 Array of , How to write ?




Refer to the answer 1:
import numpya=numpy.random.uniform(-0.1,0.1,size=(2,3))print(a)



Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030054589423.html

Random recommended