Logfiles

Logfile Content

2025-11-06 06:34:25,499 - 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-11-06 06:34:30,065 - data_prep_class.py - INFO - 107 -                  firma      datum  fg_sg               fg_bez  ladenvkp  katalogvkp                                      oeffnungszeit        fg_typ       date
0  Heinrich Heine GmbH 2024-03-15    193           Dingolfing     14.99       29.99  Montag bis Freitag von 9.00 bis 18.00 Uhr | Sa...  Basisfiliale 2024-03-15
1      Josef Witt GmbH 2024-03-15    193           Dingolfing   1078.53     1131.54  Montag bis Freitag von 9.00 bis 18.00 Uhr | Sa...  Basisfiliale 2024-03-15
2        Sieh an! GmbH 2024-03-15    193           Dingolfing     80.00       80.00  Montag bis Freitag von 9.00 bis 18.00 Uhr | Sa...  Basisfiliale 2024-03-15
3      Josef Witt GmbH 2024-03-15     21  Neuburg a. d. Donau   1389.72     1458.97  Montag bis Freitag von 09.00 bis 18.00 Uhr | k...  Basisfiliale 2024-03-15
4        Sieh an! GmbH 2024-03-15     21  Neuburg a. d. Donau     27.00       30.00  Montag bis Freitag von 09.00 bis 18.00 Uhr | k...  Basisfiliale 2024-03-15

2025-11-06 06:34:30,080 - dataprep_main.py - DEBUG - 39 - shape: (317128, 9)  shops: 123 start: 2021-01-04 end: 2025-11-05 sumladenvkp: 296262039 

2025-11-06 06:34:30,154 - data_prep_class.py - DEBUG - 137 - output of shops and codes found in sales data to fg_sg_bez.xlsx

2025-11-06 06:34:30,395 - dataprep_main.py - DEBUG - 50 - shape: (151080, 3)  shops: 123 start: 2021-01-04 end: 2025-11-05 sumladenvkp: 296262039 

2025-11-06 06:34:30,395 - data_prep_class.py - DEBUG - 180 - max date in dataframe:   2025-11-05 00:00:00 

2025-11-06 06:34:30,396 - data_prep_class.py - DEBUG - 193 - date_range: 2025-11-06 00:00:00 2026-01-31 00:00:00

2025-11-06 06:34:30,493 - data_prep_class.py - DEBUG - 206 - size of new dataset: (10701, 3) vs 10701

2025-11-06 06:34:30,505 - data_prep_class.py - DEBUG - 210 - final size: (161781, 3) 

2025-11-06 06:34:30,510 - dataprep_main.py - DEBUG - 58 - shape: (161781, 3)  shops: 123 start: 2021-01-04 end: 2026-01-31 sumladenvkp: 296262039 

2025-11-06 06:34:30,810 - dataprep_main.py - DEBUG - 69 - shape: (157477, 24)  shops: 113 start: 2021-01-04 end: 2026-01-31 sumladenvkp: 292114147 

2025-11-06 06:34:30,810 - data_prep_class.py - DEBUG - 255 - check Friedrichshafen

2025-11-06 06:34:30,828 - data_prep_class.py - DEBUG - 259 -               date  fg_sg           fg_bez  ladenvkp
136823 2024-01-02    183  Friedrichshafen    643.92

2025-11-06 06:35:06,908 - dataprep_main.py - DEBUG - 76 - shape: (157477, 24)  shops: 113 start: 2021-01-04 end: 2026-01-31 sumladenvkp: 292114147 

2025-11-06 06:35:06,926 - dataprep_main.py - DEBUG - 80 - shape: (157477, 24)  shops: 113 start: 2021-01-04 end: 2026-01-31 sumladenvkp: 292114147 

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

2025-11-06 06:35:14,237 - data_prep_class.py - DEBUG - 216 - before removing holidays: (115218, 38)

2025-11-06 06:35:14,251 - data_prep_class.py - DEBUG - 218 - aftere removing holidays: (115218, 38)

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

2025-11-06 06:35:14,695 - data_prep_class.py - DEBUG - 476 - missing values last year: lastyear_date        37065
lastyear_ladenvkp    37065
lastyear_fg_sg       37065
dtype: int64

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

2025-11-06 06:35:25,677 - 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-11-06 06:35:25,682 - dataprep_main.py - DEBUG - 146 - shape: (110073, 260)  shops: 113 start: 2022-03-01 end: 2025-06-30 sumladenvkp: 221824313 

2025-11-06 06:35:25,683 - data_prep_class.py - DEBUG - 440 - fill missing agp: 0

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