[Numpy-discussion] array metadata

Paul Anton Letnes paul.anton.letnes@gmail....
Thu Jan 26 06:30:44 CST 2012


If by "store" you mean "store on disk", I recommend h5py datasets and
attributes. Reportedly pytables is also good but I don't have any
first hand experience there. Both python modules use the hdf5 library,
written in C/C++/Fortran.

Paul

On Wed, Jan 25, 2012 at 7:47 PM, Val Kalatsky <kalatsky@gmail.com> wrote:
>
> I believe there are no provisions made for that in ndarray.
> But you can subclass ndarray.
> Val
>
>
> On Wed, Jan 25, 2012 at 12:10 PM, Emmanuel Mayssat <emayssat@gmail.com>
> wrote:
>>
>> Is there a way to store metadata for an array?
>> For example, date the samples were collected, name of the operator, etc.
>>
>> Regards,
>> --
>> Emmanuel
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion@scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list