rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics
https://rapidfuzz.github.io/RapidFuzz/
MIT License
2.61k stars 116 forks source link

Feature request: Handle pd.NA #349

Closed philipnye closed 10 months ago

philipnye commented 10 months ago

Would you consider adding support for pd.NA, handling it like np.nan (as described here #291)? I appreciate that pd.NA is currently experimental.

maxbachmann commented 10 months ago

Yes it makes sense to handle pd.NA similar to np.nan. I added support for this in https://github.com/maxbachmann/RapidFuzz/commit/ac83d6ade6ae59a1118c4324114b4adf8106eed4