-
Notifications
You must be signed in to change notification settings - Fork 902
Add IsFederalHoliday transform primitive #1912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
self.country = country | ||
try: | ||
self.holidays = holidays.CountryHoliday(self.country) | ||
except (KeyError, NotImplementedError): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
holidays version 0.13 now raises NotImplementedError
instead of KeyError
featuretools/primitives/standard/datetime_transform_primitives.py
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #1912 +/- ##
=======================================
Coverage 98.77% 98.78%
=======================================
Files 148 149 +1
Lines 16352 16424 +72
=======================================
+ Hits 16152 16224 +72
Misses 200 200
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Closes #1869