jorisvandenbossche commented on code in PR #49247:
URL: https://github.com/apache/arrow/pull/49247#discussion_r3020786694
##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -3047,6 +3049,10 @@ def test_all_none_category(self):
def test_empty_arrays(self):
for dtype_str, pa_type in self.type_pairs:
+ if (Version(pd.__version__) >= Version("3.0.0") and
+ pa_type == pa.string()):
+ # PyArrow backed string dtype are set by default
+ dtype_str = 'str'
Review Comment:
Is this change needed?
This is creating a _numpy_ array, not a pandas one. One for numpy, pandas
typically still continues to use object dtype when converting strings to numpy
--
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]