pandas2
pandas2 copied to clipboard
Migrate all NumPy interop (zero-copy wrapping, strided-to-contiguous conversions) code to use libarrow_python
I had started building some things here because it was difficult several months ago to link to the Python bridge between NumPy/pandas land and C++-only land. Now that libarrow_python is an exported, installable C++ library (see https://github.com/apache/arrow/commit/3aac4adef11345f211e4c66467ff758cbc397e43), we can link to that here and remove a ton of code.
Going forward, anything we can do to isolate the memory bridge between Python-aware and Python-naive C++ code, the simpler things will be for us.