Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0
Description
In the example below, the input array has a stride that's not a multiple of the itemsize:
>>> data = np.array([(42, True), (43, False)], ...: dtype=[('x', np.int32), ('y', np.bool_)]) ...: ...: >>> data['x'] array([42, 43], dtype=int32) >>> pa.array(data['x'], type=pa.int32()) <pyarrow.lib.Int32Array object at 0x7ff60a8415e8> [ 42, 11009 ]
Attachments
Issue Links
- links to