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
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/python
import pyarrow as pa
import pyarrow.feather as feather
my_schema = pa.schema([
pa.field('year', pa.int64()),
pa.field('nullcol', pa.null()),
pa.field('day', pa.int64()),])
pylist = [{'year': 2020, 'nullcol': None, 'day':24}]
table = pa.Table.from_pylist(pylist, schema=my_schema)
feather.write_feather(table, "test/data/withnullcol.arrow", compression="zstd", version=2)