Christopher Barker wrote: > Stefan van der Walt wrote: > >>In [19]: z = N.empty(len(x),dtype='O') > > Which brings up: > > What is the "preferred" way to refer to types? String typecode or object?
Object! The string typecodes are for backwards compatibility only. -- 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 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion