I think pyarrow.list_(pyarrow.field("items", pyarrow.int64(),
nullable=False)) should work.On Fri, Sep 10, 2021 at 12:47 PM Catalin Popescu <[email protected]> wrote: > Hello everybody, > > I have a question regarding data type building in python. Using: ltype = > pyarrow.list_(pyarrow.int64()) generates a list of nullable int64 > elements. Ie: > >>> ltype = pyarrow.list_(pyarrow.int64()) > >>> ltype.value_field.nullable > True > > Once built, this type seems to be immutable. Is there any way to build the > type of a list with > non-nullable elements ? > > Thanks in advance, > > cp > >
