Wainberg opened a new issue, #40909:
URL: https://github.com/apache/arrow/issues/40909

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```python
   >>> pa.array([True, 1.0])
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "pyarrow/array.pxi", line 344, in pyarrow.lib.array
     File "pyarrow/array.pxi", line 42, in pyarrow.lib._sequence_to_array
     File "pyarrow/error.pxi", line 154, in 
pyarrow.lib.pyarrow_internal_check_status
     File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
   pyarrow.lib.ArrowInvalid: Could not convert 1.0 with type float: tried to 
convert to boolean
   >>> pa.array([1.0, True])
   <pyarrow.lib.DoubleArray object at 0x7f1d84b3c220>
   [
     1,
     1
   ]
   ```
   
   ### 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]

Reply via email to