how to get an array of a some number in numpy code example
Example: create an array of n same value python
>> import numpy as np
>> np.full(
shape=10,
fill_value=3,
dtype=np.int)
array([3, 3, 3, 3, 3, 3, 3, 3, 3, 3])
>> import numpy as np
>> np.full(
shape=10,
fill_value=3,
dtype=np.int)
array([3, 3, 3, 3, 3, 3, 3, 3, 3, 3])