Logfiles

Logfile Content

2025-09-06 06:34:36,137 - data_prep_class.py - INFO - 98 - Get data from Big Query with SELECT firma, datum, fg_sg, fg_bez, ladenvkp, katalogvkp, oeffnungszeit, fg_typ  
FROM `test-ww-ki-witt.co_stat_daily_prognosis_bronzelayer.sales`

2025-09-06 06:34:41,976 - data_prep_class.py - INFO - 107 -              firma      datum  fg_sg               fg_bez  ladenvkp  katalogvkp                                      oeffnungszeit        fg_typ       date
0    Sieh an! GmbH 2024-09-11     21  Neuburg a. d. Donau    142.00      153.00  Montag bis Freitag von 09.00 bis 18.00 Uhr | k...  Basisfiliale 2024-09-11
1  Josef Witt GmbH 2024-09-11     21  Neuburg a. d. Donau   1660.55     1743.50  Montag bis Freitag von 09.00 bis 18.00 Uhr | k...  Basisfiliale 2024-09-11
2  Josef Witt GmbH 2024-09-11    193           Dingolfing    734.29      754.99  Montag bis Freitag von 9.00 bis 18.00 Uhr | Sa...  Basisfiliale 2024-09-11
3  Josef Witt GmbH 2024-09-11    195              Kelheim    113.91      155.89                                               None  Basisfiliale 2024-09-11
4    Sieh an! GmbH 2025-03-07     21  Neuburg a. d. Donau     65.00       75.00  Montag bis Freitag von 09.00 bis 18.00 Uhr | k...  Basisfiliale 2025-03-07

2025-09-06 06:34:41,991 - dataprep_main.py - DEBUG - 39 - shape: (304135, 9)  shops: 122 start: 2021-01-04 end: 2025-09-05 sumladenvkp: 283893605 

2025-09-06 06:34:42,063 - data_prep_class.py - DEBUG - 137 - output of shops and codes found in sales data to fg_sg_bez.xlsx

2025-09-06 06:34:42,306 - dataprep_main.py - DEBUG - 50 - shape: (145562, 3)  shops: 122 start: 2021-01-04 end: 2025-09-05 sumladenvkp: 283893605 

2025-09-06 06:34:42,306 - data_prep_class.py - DEBUG - 180 - max date in dataframe:   2025-09-05 00:00:00 

2025-09-06 06:34:42,307 - data_prep_class.py - DEBUG - 193 - date_range: 2025-09-06 00:00:00 2025-11-30 00:00:00

2025-09-06 06:34:42,400 - data_prep_class.py - DEBUG - 206 - size of new dataset: (10492, 3) vs 10492

2025-09-06 06:34:42,412 - data_prep_class.py - DEBUG - 210 - final size: (156054, 3) 

2025-09-06 06:34:42,416 - dataprep_main.py - DEBUG - 58 - shape: (156054, 3)  shops: 122 start: 2021-01-04 end: 2025-11-30 sumladenvkp: 283893605 

2025-09-06 06:34:42,713 - dataprep_main.py - DEBUG - 69 - shape: (151874, 24)  shops: 113 start: 2021-01-04 end: 2025-11-30 sumladenvkp: 279828396 

2025-09-06 06:34:42,713 - data_prep_class.py - DEBUG - 255 - check Friedrichshafen

2025-09-06 06:34:42,729 - data_prep_class.py - DEBUG - 259 -               date  fg_sg           fg_bez  ladenvkp
131888 2024-01-02    183  Friedrichshafen    643.92

2025-09-06 06:35:19,583 - dataprep_main.py - DEBUG - 76 - shape: (151874, 24)  shops: 113 start: 2021-01-04 end: 2025-11-30 sumladenvkp: 279828396 

2025-09-06 06:35:19,600 - dataprep_main.py - DEBUG - 80 - shape: (151874, 24)  shops: 113 start: 2021-01-04 end: 2025-11-30 sumladenvkp: 279828396 

2025-09-06 06:35:26,998 - dataprep_main.py - DEBUG - 94 - shape: (115218, 38)  shops: 113 start: 2022-01-03 end: 2025-06-30 sumladenvkp: 229488781 

2025-09-06 06:35:26,998 - data_prep_class.py - DEBUG - 216 - before removing holidays: (115218, 38)

2025-09-06 06:35:27,011 - data_prep_class.py - DEBUG - 218 - aftere removing holidays: (115218, 38)

2025-09-06 06:35:27,015 - dataprep_main.py - DEBUG - 99 - shape: (115218, 38)  shops: 113 start: 2022-01-03 end: 2025-06-30 sumladenvkp: 229488781 

2025-09-06 06:35:27,432 - data_prep_class.py - DEBUG - 476 - missing values last year: lastyear_date        37065
lastyear_ladenvkp    37065
lastyear_fg_sg       37065
dtype: int64

2025-09-06 06:35:28,903 - dataprep_main.py - DEBUG - 138 - shape: (115218, 259)  shops: 113 start: 2022-01-03 end: 2025-06-30 sumladenvkp: 229488781 

2025-09-06 06:35:38,590 - data_prep_class.py - DEBUG - 433 - merge on agp - missing: lastyear_date                 31920
lastyear_ladenvkp             31920
lastyear_fg_sg                31920
imputed_lastyear_ladenvkp     28931
imputed2_lastyear_ladenvkp    27534
av_lastyear_ladenvkp          27534
agp                            7945
dtype: int64

2025-09-06 06:35:38,593 - dataprep_main.py - DEBUG - 146 - shape: (110073, 260)  shops: 113 start: 2022-03-01 end: 2025-06-30 sumladenvkp: 221824313 

2025-09-06 06:35:38,595 - data_prep_class.py - DEBUG - 440 - fill missing agp: 0

2025-09-06 06:35:38,598 - dataprep_main.py - DEBUG - 151 - shape: (110073, 260)  shops: 113 start: 2022-03-01 end: 2025-06-30 sumladenvkp: 221824313