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

Function test_pandas_serialize_round_trip

python/pyarrow/tests/test_ipc.py:1068–1075  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1066
1067@pytest.mark.pandas
1068def test_pandas_serialize_round_trip():
1069 index = pd.Index([1, 2, 3], name='my_index')
1070 columns = ['foo', 'bar']
1071 df = pd.DataFrame(
1072 {'foo': [1.5, 1.6, 1.7], 'bar': list('abc')},
1073 index=index, columns=columns
1074 )
1075 _check_serialize_pandas_round_trip(df)
1076
1077
1078@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

listFunction · 0.85

Tested by

no test coverage detected