Closed mvanwyk closed 5 months ago
[!WARNING]
Review failed
The pull request is closed.
Changes in pyretailscience/customer.py
affect the PurchasesPerCustomer
, DaysBetweenPurchases
, and TransactionChurn
classes. The updates include enforcing new column requirements, altering validation logic using CustomContract
, and improving plot methods. TransactionItemLevelContract
now includes CustomContract
. These enhancements streamline data handling, validation procedures, and plotting capabilities.
File | Change Summary |
---|---|
pyretailscience/customer.py |
Updated PurchasesPerCustomer and DaysBetweenPurchases classes to utilize CustomContract for validation and modified plot methods for additional parameters and readability improvements. |
pyretailscience/data/contracts.py |
Added CustomContract within TransactionItemLevelContract . |
With lines of code, so bright and neat, Contracts now compel, complete. Purchases and days, churns too, align, In our bustling data mine. Plotting clear with paths refined, Let's celebrate this change in kind! 🐇📊✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes