Skip to content

Conversation

jbrockmendel
Copy link
Member

There are two cases we need an answer for before merging this. One, as I just posted in #29710

looking at doing this, the main problem is .decode. For everything else we can tell users to do obj.astype("str").str, but if you have bytes to start out with, that doesn't work. Unless we assume pyarrow is available and then can tell users to do .astype("bytes[pyarrow]").str.decode

The other is when you can't cast to "str" bc you have funky entries, like in test_to_hdf_errors data = ["\ud800foo"].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEPR: Deprecate .str accessor on object-dtype.
1 participant