This utility generates a CSV file containing dates between 1990-01-01 and 2030-12-31, along with some relevant information about each date.
This is especially useful for InterSystems Adaptive Analytics users because AtScale requires an independent dates table to use dates in your AtScale models.
Sample dates.csv file is included in the repo, you can simply download it if the date range and additional columns are good enough for you.
To use the utility, simply run the generate_dates.py script. The generated CSV file will be saved in the data subfolder. If the subfolder does not exist, it will be created.
The CSV file contains the following columns:
This utility requires the following Python packages: • datetime • holidays
These packages can be installed using pip:
pip install datetime holidays
This project is licensed under the MIT License - see the LICENSE file for details.