Add column for previous purse amount and actual trip cost for trips with subtypes 2/3

add_trip_cost(tr_df)

Arguments

tr_df

dataframe of transactions

Value

tr_df dataframe of transactions