[Numpy-discussion] _import_array()

Pauli Virtanen pav@iki...
Tue Feb 14 03:30:56 CST 2012


14.02.2012 10:20, Mads Ipsen kirjoitti:
[clip]
> * Should import_array() only be called one time, namely when the main
> application is started?

It should be called once when the application is started, before you do
any other Numpy-using operations.

http://docs.scipy.org/doc/numpy/reference/c-api.array.html#import_array

-- 
Pauli Virtanen



More information about the NumPy-Discussion mailing list