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

Function _roundtrip_pandas_dataframe

python/pyarrow/tests/parquet/common.py:78–82  ·  view source on GitHub ↗
(df, write_kwargs)

Source from the content-addressed store, hash-verified

76
77
78def _roundtrip_pandas_dataframe(df, write_kwargs):
79 table = pa.Table.from_pandas(df)
80 result = _roundtrip_table(
81 table, write_table_kwargs=write_kwargs)
82 return result.to_pandas()
83
84
85def _random_integers(size, dtype):

Calls 1

_roundtrip_tableFunction · 0.85