[Numpy-discussion] printing structured arrays
timmichelsen at gmx-topmail.de
Tue Mar 9 15:57:35 EST 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