Last active
December 3, 2020 07:52
-
-
Save sakurai-youhei/8a27889e32d8a9f3cf005447594d4eca to your computer and use it in GitHub Desktop.
Holidays & bizdays in Pandas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import shukujitsu | |
holidays = alldays & pd.DatetimeIndex(shukujitsu.Japan()) # 期間中の祝日 | |
bizdays = weekdays.difference(holidays) # 期間中の平日 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment