Python Numpy Asanyarray Funktion Beispiel Skalar zu einem Array
# welcome to softhunt.net
# Python program explaining
# numpy.asanyarray() function
import numpy as np
my_scalar = 12
print ("Input scalar : ", my_scalar)
out_arr = np.asanyarray(my_scalar)
print ("output array from input scalar : ", out_arr)
print(type(out_arr))
Outrageous Ostrich