Skip to content

Commit

Permalink
Bump version to 0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 18, 2023
1 parent cdc1acf commit 84a4276
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion polars_business/polars_business/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" },
]
Expand Down
4 changes: 2 additions & 2 deletions polars_business/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]})
Expand Down

0 comments on commit 84a4276

Please sign in to comment.