init research

This commit is contained in:
2026-02-08 11:20:43 -10:00
commit bdf064f54d
3041 changed files with 1592200 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import pyarrow.parquet as pq
import pyarrow as pa
d = {'name': ['sample1', 'sample2'], 'decimals': [ 3.4199, 1.2455] }
table = pa.Table.from_pydict(d)
table = table.set_column(1, 'decimals', table.column('decimals').cast(pa.decimal128(12,9)))
pq.write_table(table, 'test/data/decimaltable.parquet')