[Numpy-discussion] Recarray and shared datas

Benjamin Thyreau benjamin at decideur.info
Thu Apr 6 03:23:09 CDT 2006


Hi,
Numpy has a nice feature of recarray, ie. record which can hold columns names.
I'd like to use such a feature in order to better interact with R, ie. passing
R datas to python without copy. The current rpy bindings do a full copy, and
convert to simple ndarray. Looking at the recarray api in the Guide,
and also at the source code, i don't find any recarray constructor which can
get shared datas (all the examples from section 8.6 are doing copies).
Is there some way to do it ? in Python or in C ? Or is there any plans to ?

Thanks for the infos


--
Benjamin Thyreau
CEA/SHFJ Orsay




More information about the Numpy-discussion mailing list