Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd61239

Browse filesBrowse files
wjones127raulcd
authored andcommitted
GH-35531: [Python] C Data Interface PyCapsule Protocol (#37797)
### Rationale for this change ### What changes are included in this PR? * A new specification for Arrow PyCapsules and related dunder methods * Implementing the dunder methods for `DataType`, `Field`, `Schema`, `Array`, `RecordBatch`, `Table`, and `RecordBatchReader`. ### Are these changes tested? Yes, I've added various roundtrip tests for each of the types. ### Are there any user-facing changes? This introduces some new APIs and documents them. * Closes: #34031 * Closes: #35531 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 1b3f498 commit bd61239
Copy full SHA for bd61239

File tree

Expand file treeCollapse file tree

13 files changed

+1177
-11
lines changed
Filter options
Expand file treeCollapse file tree

13 files changed

+1177
-11
lines changed

‎docs/source/format/CDataInterface.rst

Copy file name to clipboardExpand all lines: docs/source/format/CDataInterface.rst
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,3 +990,14 @@ adaptation cost.
990990

991991

992992
.. _Python buffer protocol: https://www.python.org/dev/peps/pep-3118/
993+
994+
Language-specific protocols
995+
===========================
996+
997+
Some languages may define additional protocols on top of the Arrow C data
998+
interface.
999+
1000+
.. toctree::
1001+
:maxdepth: 1
1002+
1003+
CDataInterface/PyCapsuleInterface

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.