Adds a column with a counts of the number of bart transactions per user and diff with all transactions

bart_transactions_per_user(tr_df)

Arguments

tr_df

a dataframe of transactions

Value

tr_df a dataframe of transactions with a bart_tr_count and tr_count_diff column