CODAIT / text-extensions-for-pandas

Natural language processing support for Pandas dataframes.
Apache License 2.0
215 stars 34 forks source link

Various changes for Pandas 2.x compability. #249

Closed frreiss closed 10 months ago

frreiss commented 10 months ago

This PR updates the code in the library so that regression tests, notebooks, and tutorial scenarios all work with Pandas 2.0.

I had to disable some tests relating to NumPy universal functions because upstream changes seem to have broken this functionality in a way that defies any kind of easy fix. Moving forward we'll probably want to deprecate the TensorArray class in favor of the new Arrow Tensor type plus Arrow-based arrays.

FYI @BryanCutler