I have a DataFrame df_data:
df_data
CustID MatchID LocationID isMajor #Major is 1 and Minor is 0 1 11111 324 0 1 1