I have an array value
of this form
array([0.69])
Then I would like to extract 0.69
to form an array of this form
array([[0.69],
[0.69],
[0.69],
[0.69],
[0.69],
[0.69],
[0.69]])
I feel that my code is very indirectly and requires many operations.
value = np.array([0.69])
np.array([[value[0].tolist()]] * 7)
Could you please elaborate on how to achieve my goal more directly?