Skip to content

Instantly share code, notes, and snippets.

@drin
drin / create_groups_table.py
Last active March 11, 2023 02:14
Example Arrow code
import itertools
import pyarrow
# ------------------------------
# Define array types for readability
# id1: list<int64>
id1_type = pyarrow.list_(pyarrow.int64())
# id2: struct<type: str, value: str>