Numpy, map

Josef Dalcolmo dalcolmo at mediaone.net
Tue May 2 20:22:42 EDT 2000


Hello, NumPy Wizards!

I am still missing something equivalent to map()
When I define a function, it is not always possible to use only ufuncs for
it. When I then want to apply such a homemade function to an array, I either
have to loop, or to map and then convert. I wish there was something like
'amap()', which takes an arbitrary function and returns an array.

- Josef





More information about the Python-list mailing list