[Numpy-discussion] array metadata

Paul Anton Letnes paul.anton.letnes at gmail.com
Thu Jan 26 07:30:44 EST 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 at 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 at 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 at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list