Energy Demand Forecasting with Seasonal Detrending - Coding problem | OneNoughtOne