Answers for "np create array"

1

create empty numpy array without shape

a = []
    for x in y:
        a.append(x)
    a = np.array(a)
Posted by: Guest on March-02-2020

Browse Popular Code Answers by Language