[Numpy-discussion] create numerical arrays from strings

Alan G Isaac alan.isaac at gmail.com
Thu Feb 6 19:19:10 EST 2014


On 2/6/2014 6:03 PM, David Goldsmith wrote:
> So the substance of the utility function Stefan suggests is one line:

It's even easier than that:
np.mat('1 2;3 4').A

However the context is the introduction of the language
to students who have no programming experience, not
my personal convenience (which this affects not at all).

Cheers,
Alan



More information about the NumPy-Discussion mailing list