array conversion on cython side