Hi @sehHeiden,
The function is now on main (José reviews PRs quick!):
So if you get the latest ref, you can now do:
[~D[2023-01-01], ~D[2023-01-08], ~D[2023-02-23]]
|> S.from_list()
|> S.week_of_year()
# #Explorer.Series<
# Polars[3]
# integer [52, 1, 8]
# >
Since you’re new to Elixir, you can get the latest ref by adding the following to your project’s mix.exs:
# list of deps
[
# ...
{:explorer,
git: "https://github.com/elixir-explorer/explorer.git",
# This is the current ref of main.
# It may change, but as long as the ref is after this one,
# you'll have access to the function.
ref: "aef274989ab490b0a392ccd19ec24b286a8cda1c",
override: true},
# ...
]
There are other ways of doing this too, but that should get you started.






















