8000 Add details about the C implementation · iskode/dataframe-api@3291dd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3291dd9

Browse files
committed
Add details about the C implementation
1 parent 1708e03 commit 3291dd9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

protocol/dataframe_protocol_summary.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,3 +293,9 @@ Here are the four most relevant existing protocols, and what requirements they s
293293
5. Only NumPy datetime and timedelta, which are limited compared to what the Arrow format offers.
294294
6. No explicit support, however categoricals can be mapped to either integers or strings.
295295
7. No explicit support, categoricals can only be mapped to integers.
296+
297+
| *implementation* | buffer protocol | `__array_interface__` | DLPack | Arrow C Data Interface |
298+
|---------------------|:---------------:|:---------------------:|:---------:|:----------------------:|
299+
| refcounting | Y | Y | | |
300+
| call deleter | | | Y | Y |
301+
| supporting C code | in CPython | in NumPy | spec-only | spec-only |

0 commit comments

Comments
 (0)
0