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

Function _test_dataframe

python/pyarrow/tests/parquet/common.py:118–125  ·  view source on GitHub ↗
(size=10000, seed=0)

Source from the content-addressed store, hash-verified

116
117
118def _test_dataframe(size=10000, seed=0):
119 import pandas as pd
120
121 df = pd.DataFrame(_test_dict(size, seed))
122
123 # TODO(PARQUET-1015)
124 # df['all_none_category'] = df['all_none_category'].astype('category')
125 return df
126
127
128def _test_table(size=10000, seed=0):

Calls 1

_test_dictFunction · 0.85