[Numpy-discussion] printing structured arrays

Tim Michelsen timmichelsen@gmx-topmail...
Tue Mar 9 14:57:35 CST 2010

>> I still wonder why there is not a quick function for such a view /
>> reshape conversion.
> Because it is difficult (impossible?) to do in the general case. .view() 
> really isn't that bad, in fact, it remarkably powerful and flexible!
I would not drop .view() but rather add a convenience function for
struct_1dtype_float_alt = struct_1dtype.view((np.float,

More information about the NumPy-Discussion mailing list