# Read all trace CSV files and combine them
trace_files = glob.glob('./csv_data/my-workspace/projects/my-source-project/trace_*.csv')
df_traces = pd.concat([pd.read_csv(f) for f in trace_files], ignore_index=True) if trace_files else pd.DataFrame()
df_datasets = pd.read_csv('./csv_data/my-workspace/datasets/datasets_test-dataset.csv')
print(f'Exported {len(df_traces)} trace records from {len(trace_files)} files')
print(f'Exported {len(df_datasets)} dataset records')
print('Trace columns:', df_traces.columns.tolist() if not df_traces.empty else 'No traces')
print('Dataset columns:', df_datasets.columns.tolist())
"