gaogaotiantian opened a new issue, #49002: URL: https://github.com/apache/arrow/issues/49002
### Describe the bug, including details regarding any error messages, version, and platform. Pandas 3 introduced a new [string type](https://pandas.pydata.org/docs/user_guide/migration-3-strings.html) which `arrow` supports when the elements are strings: ```python >>> pa.array(["a"], type="str").to_pandas() 0 a dtype: str ``` However, when the element is `None`, `arrow` should still create a `pandas.Series` with the type `str`. Current: ```python >>> pa.array([None], type="str").to_pandas() 0 None dtype: object ``` Expected: ```python >>> pa.array([None], type="str").to_pandas() 0 NaN dtype: str ``` ### Component(s) Python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
