From: Tom D. <tom...@al...> - 2006-07-11 00:59:27
|
The following works on a float array but not an object array. It gives a very strange error message. (Pdb) numpy.log(numpy.array([19155613843.7], dtype=object)) *** AttributeError: 'float' object has no attribute 'log' (Pdb) numpy.log([19155613843.7]) array([ 23.67586166]) |