Re: [Numpy-discussion] Documenting chararrays

2008-07-23 Thread Christopher Hanley
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(

Re: [Numpy-discussion] Documenting chararrays

2008-07-23 Thread Alan McIntyre
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

[Numpy-discussion] Documenting chararrays

2008-07-23 Thread Stéfan van der Walt
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'