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

Function test_read_columns

python/pyarrow/tests/test_feather.py:547–556  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

545
546@pytest.mark.pandas
547def test_read_columns(version):
548 df = pd.DataFrame({
549 'foo': [1, 2, 3, 4],
550 'boo': [5, 6, 7, 8],
551 'woo': [1, 3, 5, 7]
552 })
553 expected = df[['boo', 'woo']]
554
555 _check_pandas_roundtrip(df, expected, version=version,
556 columns=['boo', 'woo'])
557
558
559@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected