raulcd commented on PR #46618: URL: https://github.com/apache/arrow/pull/46618#issuecomment-2913499812
@WillAyd @pitrou what would be your expectation here: ``` arr = np.array([1.5, np.nan], dtype=np.float16) a = pa.array(arr, type=pa.float16()) x, y = a.to_pylist() ``` `isinstance(x, float)` or `isinstance(x, np.float16)`? Currently we convert to `np.float16` but in my opinion we should return a Python Float otherwise we unnecessarily require 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org