to_arrow_ext_array

to_arrow_ext_array#

NestedExtensionArray.to_arrow_ext_array(list_struct: bool = False, large_list: bool = False) ArrowExtensionArray[source]#

Convert the extension array to pandas’ ArrowExtensionArray

Parameters:
  • list_struct (bool, optional) – If False (default), return struct-list array, otherwise return list-struct array.

  • large_list (bool, optional) – If False (default), use regular list_ (int32 offsets). Set to True to use large_list (int64 offsets), which is required when the total number of nested elements across all rows exceeds ~2.1 billion (int32 max).