jorisvandenbossche commented on code in PR #41904:
URL: https://github.com/apache/arrow/pull/41904#discussion_r1636299285


##########
python/pyarrow/lib.pyx:
##########
@@ -21,8 +21,10 @@
 
 import datetime
 import decimal as _pydecimal
+HAS_NUMPY=False
 try:
     import numpy as np
+    HAS_NUMPY=True
 except ImportError:
     np = None

Review Comment:
   To be clear I don't feel strongly about it, `np is not None` will also work 
just fine (although easy to understand as well, it's just not an idiom I am 
familiar with from other projects)



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