[Numpy-discussion] Short-hand array creation in `numpy.mat` style

Chris Barker - NOAA Federal chris.barker at noaa.gov
Mon Jul 7 14:32:12 EDT 2014


If you are going to introduce this functionality, please don't call it
np.arr.


I agree, but..,

I would suggest calling it something like np.array_simple or
np.array_from_string, but the best choice IMO, would be
np.ndarray.from_string (a static constructor method).


Except the entire point of his is that it's easy to type...

-1 on the whole idea -- this isn't Matlab, I'd saving a little typing worth
it?

CHB


_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140707/db257555/attachment.html>


More information about the NumPy-Discussion mailing list