top of page

Pyscript code into classes and functions

Requirement

Introduction: PySpark data processing codebase by restructuring it into reusable classes and functions following data engineering best practices. This refactoring aims to improve maintainability, enable code reuse, and prepare the codebase for future enhancements.

 

Requirements: Read the updated attached Pyspark script for getting Multiple transactions for a product in a year, YoY Growth, Penetration Flag, Sales Rank. This script should be write it with classes and functions and do not change the logic.[^product_sales_script.py]

Purgo AI Agentic Code

bottom of page