5 Oct 11:29
asscalar(number) - why yields error, why can't return the number?!
From: dmitrey <dmitrey.kroshko <at> scipy.org>
Subject: asscalar(number) - why yields error, why can't return the number?!
Newsgroups: gmane.comp.python.numeric.general
Date: 2008-10-05 09:31:51 GMT
Subject: asscalar(number) - why yields error, why can't return the number?!
Newsgroups: gmane.comp.python.numeric.general
Date: 2008-10-05 09:31:51 GMT
hi all, I wonder why numpy.asscalar(1.5) yields error, why it can't just return 1.5? Is it intended to be ever changed? >>> numpy.__version__ '1.3.0.dev5864' D.
RSS Feed