Given a raw dataset of customer transactions, write a Python script using only basic libraries to calculate the rolling average of purchase values.