import pyarrow as pa | |
with pa.memory_map("mistral_output_file.arrow", "r") as source: | |
df_i = pa.RecordBatchStreamReader(source).read_all() | |
df_i = df_i.to_pandas() | |
df_b = df_b.to_pandas() | |
df = df_i.merge(df_b, on="trace_id") | |
import pyarrow as pa | |
with pa.memory_map("mistral_output_file.arrow", "r") as source: | |
df_i = pa.RecordBatchStreamReader(source).read_all() | |
df_i = df_i.to_pandas() | |
df_b = df_b.to_pandas() | |
df = df_i.merge(df_b, on="trace_id") | |