[Numpy-discussion] Structured array with no fields - possible?
David Cournapeau
david@ar.media.kyoto-u.ac...
Sun May 3 01:22:02 CDT 2009
Hi Matthew,
Matthew Brett wrote:
> Hello,
>
> I'm trying to fix a bug in the scipy matlab loading routines, and this
> requires me to somehow represent an empty structured array.
>
Do you need the struct to be empty (size is 0) or to have no fields ?
What would you expect np.zeros((), dtype=np.dtype([])) to return, for
example ?
cheers,
David
More information about the Numpy-discussion
mailing list