Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_recordbatch_no_fields
Function
test_recordbatch_no_fields
python/pyarrow/tests/test_table.py:739–744 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
737
738
739
def
test_recordbatch_no_fields():
740
batch = pa.record_batch([], [])
741
742
assert len(batch) == 0
743
assert batch.num_rows == 0
744
assert batch.num_columns == 0
745
746
747
def
test_recordbatch_from_arrays_invalid_names():
Callers
nothing calls this directly
Calls
1
len
Function · 0.85
Tested by
no test coverage detected