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

Function test_duplicate_columns

python/pyarrow/tests/test_feather.py:608–612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

606
607
608def test_duplicate_columns():
609 # only works for version 2
610 table = pa.table([[1, 2, 3], [4, 5, 6], [7, 8, 9]], names=['a', 'a', 'b'])
611 _check_arrow_roundtrip(table)
612 _assert_error_on_write(table, ValueError, version=1)
613
614
615@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

_check_arrow_roundtripFunction · 0.85
_assert_error_on_writeFunction · 0.85

Tested by

no test coverage detected