python-holidays

Key Error resulting from apply and lambda function on DataFrame column

Key Error resulting from apply and lambda function on DataFrame column Question: I generated a new column displaying the 7th business day of the year and month from this df: YearOfSRC MonthNumberOfSRC 0 2022 3 1 2022 4 2 2022 5 3 2022 6 4 2021 4 … … … … 20528 2022 1 20529 …

Total answers: 1