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

Function make_batches

python/pyarrow/tests/test_ipc.py:1196–1200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1194 return pa.schema([('field', pa.int64())])
1195
1196 def make_batches():
1197 schema = make_schema()
1198 batch1 = pa.record_batch([[1, 2, 3]], schema=schema)
1199 batch2 = pa.record_batch([[4, 5]], schema=schema)
1200 return [batch1, batch2]
1201
1202 # With iterable
1203 batches = UserList(make_batches()) # weakrefable

Callers 1

Calls 1

make_schemaFunction · 0.70

Tested by

no test coverage detected