Skip to content
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

CLOSED: issues 8 and 9 enhancements to calendar attributes (to dateoffsets) and simplified status delivery #10

Conversation

seekinginfiniteloop
Copy link
Owner

Completely revamped back-end across the library, simplifying status handling using json import and pandas native objects. Rebuilt supporting calendar classes as pandas DateOffset children; adding numpy vectorized and array-based operations (even when not available in pandas itself). FedPayDay, FedBusinessDay, FedHolidays, MilitaryPayDay, and MilitaryPassDay are all pandas offset objects now.

Still need to integrate changes into FedStamp and FedIndex, but given the huge restructuring (and current lack of usership), it's time to merge with dev and get the show on the road.

CLOSES Refactor Date Attributes to Make More Effective Use of Pandas offset classes #9
CLOSES Restructure and Simplify Department Status Management and Delivery #8

… functionality on front-end, implemented multiindex pipeline, opted to remove custom front-end objects all together (i.e. FedDepartment). This knocked a few modules (_tree, _dept_status, and _depts) out in one fell swoop leaving something infinitely easier to maintain. I will also likely consolidate what's left in constants elsewhere, or rename it.
…on ingestion and some consolidation. constants.py and _interval_store.py are gone. Began refactor of FedHolidays as AbstractHolidayCalendar. _meta renamed to _base
… as pandas DateOffset subclasses, the same for MilitaryPayDay. Work ongoing for the same treatment of ProbableMilitaryPassday
…functionality is there just not fully integrated...
@seekinginfiniteloop seekinginfiniteloop merged commit f1e02aa into dev Jan 15, 2024
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant