I'm confronting with a data-set where every single booking(status: 1) and cancellation(status: -1) is written:
Day Etage Table ID Status
1 1 A ABE 1
1 1 A ABE -1
1 1 A SSH 1
.
.
.
2 2 C DRO 1
2 3 A AMO 1
2 3 B LOR 1
2 3 B LOR -1
Since I should only analyse the "real" bookings I'm searching a efficient way to filter these booked and cancelled IDs, for instance for Table A on Etage 1 at Day 1: SSH should be kept and ABE should be deleted
Can anyone help? I would appreciate any suggest better than my for-loop-ception-approach right now :p