alippai commented on code in PR #48391:
URL: https://github.com/apache/arrow/pull/48391#discussion_r2613012802


##########
python/pyarrow/src/arrow/python/numpy_convert.cc:
##########
@@ -122,6 +122,15 @@ Result<std::shared_ptr<DataType>> 
NumPyScalarToArrowDataType(PyObject* scalar) {
   return NumPyDtypeToArrow(descr);
 }
 
+#if NPY_ABI_VERSION >= 0x02000000
+bool IsStringDType(PyArray_Descr* descr) {
+  // NumPy's variable-width StringDType exposes a dedicated dtype number.

Review Comment:
   Removed



-- 
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]

Reply via email to