import pyarrow as pa import pyarrow.orc as orc table = pa.Table.from_pandas(df, preserve_index=False) orc.write_table(table, 'file_name.orc')