MCPcopy Create free account
hub / github.com/apache/arrow / __arrow_c_stream__

Method __arrow_c_stream__

python/pyarrow/tests/test_table.py:625–628  ·  view source on GitHub ↗
(self, requested_schema=None)

Source from the content-addressed store, hash-verified

623 self.batches = batches
624
625 def __arrow_c_stream__(self, requested_schema=None):
626 reader = pa.RecordBatchReader.from_batches(
627 self.batches[0].schema, self.batches)
628 return reader.__arrow_c_stream__(requested_schema)
629
630 data = [
631 pa.record_batch([pa.array([1, 2, 3], type=pa.int64())], names=['a']),

Callers 4

__arrow_c_stream__Method · 0.45
test_recordbatch_non_cpuFunction · 0.45
test_table_non_cpuFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected