Closed girdeux31 closed 4 months ago
The problem, if it exists, is related to the holidays
package. If you search 2022, these are the holidays that are defined:
dict_items([(datetime.date(2022, 1, 1), 'Año nuevo'), (datetime.date(2022, 1, 6), 'Epifanía del Señor'), (datetime.date(2022, 4, 15), 'Viernes Santo'), (datetime.date(2022, 8, 15), 'Asunción de la Virgen'), (datetime.date(2022, 10, 12), 'Día de la Hispanidad'), (datetime.date(2022, 11, 1), 'Todos los Santos'), (datetime.date(2022, 12, 6), 'Día de la Constitución Española'), (datetime.date(2022, 12, 8), 'La Inmaculada Concepción')])
Here's what I see for 2023, which matches your Holidays output:
I'm using Python 3.9 and Ubuntu.
From the documentation:
Column
holiday_name
in output is full ofNaN
, when clearly it is Christmas time. It works withGermany
,UnitedStates
,Japan
…Holidays library works fine: