Gaël Varoquaux

computer / data / health science

Latest posts

About me

cython posts

Cython example of exposing C-computed arrays in Python without data copies

Some advice on passing arrays from C to Python avoiding copies. I use Cython as I have found the code to be more maintainable than hand-written Python C-API code.

I found out that there was no self-contained example of creating numpy arrays from existing data in Cython. Thus I created …

28 September 2011

 
Page 1 / 1

© Gaël Varoquaux – Built with Pure Theme for Pelican