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

Function test_duplicate_columns_pandas

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

Source from the content-addressed store, hash-verified

597
598@pytest.mark.pandas
599def test_duplicate_columns_pandas():
600
601 # https://github.com/wesm/feather/issues/53
602 # not currently able to handle duplicate columns
603 df = pd.DataFrame(np.arange(12).reshape(4, 3),
604 columns=list('aaa')).copy()
605 _assert_error_on_write(df, ValueError)
606
607
608def 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