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

Function test_duplicate_columns_pandas

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

Source from the content-addressed store, hash-verified

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