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

Function test_duplicate_columns_pandas

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

Source from the content-addressed store, hash-verified

604
605@pytest.mark.pandas
606def test_duplicate_columns_pandas():
607
608 # https://github.com/wesm/feather/issues/53
609 # not currently able to handle duplicate columns
610 df = pd.DataFrame(np.arange(12).reshape(4, 3),
611 columns=list('aaa')).copy()
612 _assert_error_on_write(df, ValueError)
613
614
615def test_duplicate_columns():

Callers

nothing calls this directly

Calls 3

listFunction · 0.85
_assert_error_on_writeFunction · 0.85
copyMethod · 0.80

Tested by

no test coverage detected