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.
-- Robert Kern "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 -- http://mail.python.org/mailman/listinfo/python-list