[Numpy-discussion] Representation of array subclasses
Stéfan van der Walt
Wed Jul 23 08:23:09 CDT 2008
I noticed that subclasses are not represented correctly:
In : np.chararray([1, 2, 3])
chararray([[['\x03', '', ''],
['\xc0', '\x03', '']]],
Notice how the indentation of the second row is completely wrong.
I tried to fix this in array_repr_builtin (arrayobject.c:4318), but
the fix had no impact. `array_repr_builtin` is not called unless
Does anybody know where the right place is to fix the representation?
More information about the Numpy-discussion