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

Function _record_batch_from_iters

python/pyarrow/tests/test_udf.py:646–649  ·  view source on GitHub ↗
(schema, *iters)

Source from the content-addressed store, hash-verified

644
645
646def _record_batch_from_iters(schema, *iters):
647 arrays = [pa.array(list(v), type=schema[i].type)
648 for i, v in enumerate(iters)]
649 return pa.RecordBatch.from_arrays(arrays=arrays, schema=schema)
650
651
652def _record_batch_for_range(schema, n):

Callers 2

_record_batch_for_rangeFunction · 0.85
__call__Method · 0.85

Calls 2

listFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected