[Numpy-discussion] Structured array with no fields - possible?

Charles R Harris charlesr.harris@gmail....
Sun May 3 02:10:32 CDT 2009


On Sat, May 2, 2009 at 10:54 PM, Matthew Brett <matthew.brett@gmail.com>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.
>
> In matlab this is:
>
> >> a = struct()
>

Wouldn't a dictionary fit the matlab structure a bit better?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090503/0efe6154/attachment.html 


More information about the Numpy-discussion mailing list