API/ENH: add support for integer NA with dynd-python dep · Issue #8643 · pandas-dev/pandas (original) (raw)

this should actually be relatively straightforward.

Incorporating this library: https://github.com/libdydn/dynd-python
as an optional dep, allows native Integer NA support (implemented
very similarly to how NaT is represented in datetime64[ns] dtypes ATM.

dynd-python are the python bindings for libdynd and have an almost 100% numpy
compatibility (they use the buffer interface so should be perf-wise pretty costless to do this).

tangentially related to #8350

cc @mwiebe
cc @shoyer
cc @jorisvandenbossche
cc @cpcloud