process_leg_booking_detail

passengersim.callbacks.booking_detail.process_leg_booking_detail(data: CallbackData | SimulationTables) → pd.DataFrame[source]

Get the recorded cumulative sales, one row per trial, sample, and day.

Deprecated since version Use: detail_table() with LegBookingDetailTracer.name, or the summary accessor leg_booking_detail for the daily statistics.

Parameters:
data : CallbackData or SimulationTables

Callback data, or a summary holding it.

Returns:

pd.DataFrame – Indexed by (trial, sample, days_prior), one column per leg.