On 6/14/2013 9:27 AM, Aldcroft, Thomas wrote:
> If I just saw np.values(..) in some code I would never guess what it is doing 
> from the name

That suggests np.fromvalues.
But more important than the name I think
is allowing broadcasting of the values,
based on NumPy's broadcasting rules.
Broadcasting a scalar is then a special case,
even if it is the case that has dominated this thread.

Alan Isaac

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to