SyntaxFix
Write A Post
Hire A Developer
Questions
I would simply use,
np.asarray(input, dtype=np.float)[0]
input
ndarray
np.asarray
list