Play arrow with refs.

This commit is contained in:
2026-01-09 10:34:59 +08:00
parent 109336e98d
commit e9fbbb8ebf
2 changed files with 459 additions and 0 deletions

18
test_arrow.py Normal file
View File

@ -0,0 +1,18 @@
# %%
import numpy as np
import pandas as pd
import pyarrow as pa
import pyarrow.parquet as pq
# %%
batch = pa.RecordBatch.from_pandas(
pd.DataFrame({"colA": [1, 2, 3, 4], "colB": ["AAA", "BB", "CCCC", "D"]})
)
batch
# %%
batch.to_pandas()
# %%