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

Function make_extension_batch

python/pyarrow/tests/test_cffi.py:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104def make_extension_batch():
105 schema = make_extension_schema()
106 ext_col = schema[0].type.wrap_array(pa.array([b"foo", b"bar"],
107 type=pa.binary(3)))
108 return pa.record_batch([ext_col], schema)
109
110
111def make_batches():

Callers

nothing calls this directly

Calls 2

make_extension_schemaFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected