| 501 | |
| 502 | def test_chunked_array_c_array_interface(): |
| 503 | class ArrayWrapper: |
| 504 | def __init__(self, array): |
| 505 | self.array = array |
| 506 | |
| 507 | def __arrow_c_array__(self, requested_schema=None): |
| 508 | return self.array.__arrow_c_array__(requested_schema) |
| 509 | |
| 510 | data = pa.array([1, 2, 3], pa.int64()) |
| 511 | chunked = pa.chunked_array([data]) |
no outgoing calls