CODAIT / text-extensions-for-pandas

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

Fixes for use with Pandas 1.2.1 #171

Closed BryanCutler closed 3 years ago

BryanCutler commented 3 years ago

Fixed _from_sequence to handle np.nan, added __contains__ to check for null values with text set to None.

Closes #168

BryanCutler commented 3 years ago

@frreiss there is still one more error, it has to do with TensorArray repr() with floating point values, and is similar to https://github.com/pandas-dev/pandas/pull/38391. I need to get back on that for a fix, but I'll try for a workaround first. We can merge this first if ok with you.

BryanCutler commented 3 years ago

Going to go ahead and merge, will try to fix the TensorArray issue separately