AlenkaF opened a new pull request, #38472: URL: https://github.com/apache/arrow/pull/38472
### Rationale for this change DLPack is selected for Array API protocol so it is important to have it implemented for PyArrow Arrays also. This is possible for primitive type arrays with no validity buffer. Device support is not in scope of this PR (CPU only). ### What changes are included in this PR? `__dlpack__` method on the base Array class with a check for number of buffers (only one buffer for the data). ### Are these changes tested? Yes, tests are added to `test_array.py`. ### Are there any user-facing changes? No. -- 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]
