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

Function test_construct_empty_dataset

python/pyarrow/tests/test_dataset.py:2598–2602  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2596
2597
2598def test_construct_empty_dataset():
2599 empty = ds.dataset([], format='ipc')
2600 table = empty.to_table()
2601 assert table.num_rows == 0
2602 assert table.num_columns == 0
2603
2604
2605def test_construct_dataset_with_invalid_schema():

Callers

nothing calls this directly

Calls 1

to_tableMethod · 0.45

Tested by

no test coverage detected