Stéfan van der Walt wrote:
> Hi all,
>
> Should we document character arrays? Does anybody still use them?
>
> I think their behaviour can largely be duplicated by object arrays.
> They also seem to be broken:
>
x = np.array(['1', '2', '3', '4']).view(np.chararray)
>
x*3
> chararray(
On Wed, Jul 23, 2008 at 9:57 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Should we document character arrays? Does anybody still use them?
>
> I think their behaviour can largely be duplicated by object arrays.
> They also seem to be broken:
FWIW, I've got issues and patches
Hi all,
Should we document character arrays? Does anybody still use them?
I think their behaviour can largely be duplicated by object arrays.
They also seem to be broken:
>>> x = np.array(['1', '2', '3', '4']).view(np.chararray)
>>> x*3
chararray(['111', '222', '333', '444'],
dtype='|S4'