Created
December 3, 2020 08:00
-
-
Save sakurai-youhei/92847a9d55d1ae6848d5603e2aee5466 to your computer and use it in GitHub Desktop.
Weekends & daysoff in Pandas
This file contains 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
weekends = alldays.difference(weekdays) # 期間中の土日 | |
daysoff = (weekends | holidays) # 期間中の休日 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment