jceresearch / pydit

Library of data wrangling functions that an internal auditor typically needs (for my own use and learning, if you wish to use or collaborate pls get in touch, or use at your own peril).

Home Page:https://pypi.org/project/pydit-jceresearch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create a calendar table based on one or more data frames and merge back relevant attributes

jceresearch opened this issue · comments

Similar to powerBI calendar tables pick a bunch of DFs look at all the datetimes there, find the range that comprise all, generate it for reference and potentially merge back to a list of fields and/or df+files a selection of those facets (quarter, yyyymm, yyyymmdd, yyyyww, working/non-working, dow)