import numpy x = numpy.array([1.0, 2.0, 3.0], dtype=object) print(numpy.exp(x))
Standard input is empty
Standard output is empty
AttributeError: 'float' object has no attribute 'exp' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "./prog.py", line 5, in <module> TypeError: loop of ufunc does not support argument 0 of type float which has no callable exp method