diff --git a/polars_business/polars_business/polars_business/__init__.py b/polars_business/polars_business/polars_business/__init__.py index f6a25d3..ea512ac 100644 --- a/polars_business/polars_business/polars_business/__init__.py +++ b/polars_business/polars_business/polars_business/__init__.py @@ -5,7 +5,7 @@ lib = _get_shared_lib_location(__file__) -__version__ = "0.1.15" +__version__ = "0.1.16" mapping = {"Mon": 0, "Tue": 1, "Wed": 2, "Thu": 3, "Fri": 4, "Sat": 5, "Sun": 6} diff --git a/polars_business/polars_business/pyproject.toml b/polars_business/polars_business/pyproject.toml index ebb55df..706d474 100644 --- a/polars_business/polars_business/pyproject.toml +++ b/polars_business/polars_business/pyproject.toml @@ -10,7 +10,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -version = "0.1.15" +version = "0.1.16" authors = [ { name="Marco Gorelli", email="33491632+MarcoGorelli@users.noreply.github.com" }, ] diff --git a/polars_business/run.py b/polars_business/run.py index 9be26d2..8776561 100644 --- a/polars_business/run.py +++ b/polars_business/run.py @@ -5,10 +5,10 @@ reverse_mapping = {value: key for key, value in mapping.items()} -start = datetime(2000, 1, 18) +start = datetime(2000, 1, 16) n = 11 weekend = ["Sat", "Sun"] -holidays = [date(2000, 1, 18)] +holidays = [date(2000, 1, 3)] weekmask = [0 if reverse_mapping[i] in weekend else 1 for i in range(7)] df = pl.DataFrame({"dates": [start]})