More efficient array processing
robert.kern at gmail.com
Fri Oct 24 00:24:14 CEST 2008
John [H2O] wrote:
> I'm using zeros with type np.float, is there a way to define the data type to
> be 4 byte floats?
np.float32. np.float is not part of the numpy API. It's just Python's builtin
float type which corresponds to C doubles.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list