packages/vaex-arrow/vaex_arrow/convert.py
def arrow_table_from_vaex_df(ds, column_names=None, selection=None, strings=True, virtual=False):
    """Implementation of Dataset.to_arrow_table"""
    names = []
    arrays = []
    for name, array in ds.to_items(column_names=column_names, selection=selection, strings=strings, virtual=virtual):
        names.append(name)
        arrays.append(arrow_array_from_numpy_array(array))
    return pyarrow.Table.from_arrays(arrays, names)
def arrow_table_from_vaex_df(ds, column_names=None, selection=None, strings=True, virtual=False):
    names = []
    arrays = []
    for name, array in ds.to_items(column_names=column_names, selection=selection, strings=strings, virtual=virtual):
        names.append(name)
        arrays.append(arrow_array_from_numpy_array(array))
    return pyarrow.Table.from_arrays(arrays, names)
def arrow_table_from_vaex_df ( ds , column_names = None , selection = None , strings = True , virtual = False ) : names = [ ] arrays = [ ] for name , array in ds . to_items ( column_names = column_names , selection = selection , strings = strings , virtual = virtual ) : names . append ( name ) arrays . append ( arrow_array_from_numpy_array ( array ) ) return pyarrow . Table . from_arrays ( arrays , names )
Implementation of Dataset.to_arrow_table
Implementation of Dataset . to_arrow_table