[Numpy-discussion] Problem with name numeric
oliphant at ee.byu.edu
Wed Oct 12 18:49:38 CDT 2005
Colin J. Williams wrote:
> With the following sequence I had expected "scipy.base.numeric" to be
> a module, instead it is reported as a type.
Yes numeric is a type under scipy.base
you just need scipy.ndarray
The idea is not not import all the little submodules that make up scipy
(that way we can change them around in the future should we need to).
The only modules that should import numeric directly are those that are
part of the scipy.base package itself.
All you need to do is import scipy alone
is what you want.
More information about the Numpy-discussion