pitrou opened a new issue, #46608:
URL: https://github.com/apache/arrow/issues/46608
### Describe the enhancement requested
This should work:
```python
>>> pa.array([1.2, 3.5, None], type=pa.float32())
<pyarrow.lib.FloatArray object at 0x7e178b657520>
[
1.2,
3.5,
null
]
>>> pa.array([1.2, 3.5, None], type=pa.float16())
Traceback (most recent call last):
...
ArrowTypeError: Expected np.float16 instance
```
### 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]