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

Function test_non_string_columns

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

Source from the content-addressed store, hash-verified

523
524@pytest.mark.pandas
525def test_non_string_columns(version):
526 df = pd.DataFrame({0: [1, 2, 3, 4],
527 1: [True, False, True, False]})
528 expected = df
529
530 if version == 1:
531 expected = df.rename(columns=str)
532 _check_pandas_roundtrip(df, expected, version=version)
533
534
535@pytest.mark.pandas

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected