This is the shape of nearly every fraud and churn feature in production, and it is where time-based features are most often written wrongly.
Given a DataFrame of transactions with columns customer_id, timestamp and amount, return a DataFrame with one row per input transaction and the columns:
customer_idtimestampamountrolling_7d_avg: the mean transaction amount for that customer over the 7 days ending at that transaction, inclusiveYou have read the opening. The rest is free with a Bezen account, and no card is needed.
Behind the sign-in