Hi,
I’m new to python language and was reading about ufunc functions from NumPy. As per definition it says,
" ufuncs stands for “Universal Functions” and they are NumPy functions that operate on the ndarray
object."
But in below example ufunc function is used on a list which is not a ndarray object,
import numpy as np
x = [1, 2, 3, 4]
y = [4, 5, 6, 7]
z = np.add(x, y)
print(z)
As per definition if it can operate only on ndarray objects then how it can operate on list(which is not ndarray object) ??