Hello,
I am using an EArray constructed as follows:
fh.createEArray(grp,'normI',Float32Atom(),(0,512))

When I try to append to it a numpy array with dimensions (512,), I get a rank
mismatch error unless I first wrap the array as follows:
np.array(np.zeros((512,0)),ndmin=2)
Is there anyway around having to add this extra annoying code everywhere? Why
shouldn't any array with 512 elements in one dimension and any set of singleton
or non existent other dimensions be appendable?

Thanks,
Glenn


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to