>>> pa.__version__
'15.0.1'
>>> dicttyp = pa.dictionary(pa.int8(), pa.string(), ordered=True)
>>> dicttyp
DictionaryType(dictionary<values=string, indices=int8, ordered=1>)
>>> pa.array(["foo", "bar", "foo"], dicttyp).type
DictionaryType(dictionary<values=string, indices=int8, ordered=0>)