You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Series.unique() fails to detect unique strings when null bytes are included.
As per this question and this issue, it seems that this is another case of strings being passed to a Cython function and terminating early on null bytes.
Expected Behavior
Should return ['A\x00B' 'A\x00C']
Installed Versions
pandas : 2.0.2
The text was updated successfully, but these errors were encountered:
mroeschke
added
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Strings
String extension data type and string data
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Jul 17, 2024
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Series.unique()
fails to detect unique strings when null bytes are included.As per this question and this issue, it seems that this is another case of strings being passed to a Cython function and terminating early on null bytes.
Expected Behavior
Should return
['A\x00B' 'A\x00C']
Installed Versions
pandas : 2.0.2
The text was updated successfully, but these errors were encountered: