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

Function _make_table

python/pyarrow/tests/test_pandas.py:3948–3953  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3946 K = 50
3947
3948 def _make_table():
3949 return pa.table([
3950 # Slice to force a copy
3951 pa.array(np.random.randn(10000)[::2])
3952 for i in range(K)
3953 ], [f'f{i}' for i in range(K)])
3954
3955 t = _make_table()
3956 _check_to_pandas_memory_unchanged(t, split_blocks=True, self_destruct=True)

Callers 1

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected