Unverified Commit 3cb575fc authored by Claude's avatar Claude
Browse files

Refactor calculate_results to use pandas DataFrames

- Complete rewrite of data processing pipeline using pandas
- Single source of truth: main DataFrame with all predictions and actuals
- Vectorized calculations for all financial metrics
- Clean separation: data collection → transformation → aggregation
- Eliminated nested loops and manual accumulation
- Much more maintainable and easier to debug
- Includes DataFrame in results for future enhancements
parent 0f09420d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment