# Missing functions in Explorer DataFrames/Series

**URL:** <https://forum.elixirforum.com/t/missing-functions-in-explorer-dataframes-series/58448>\
**Category:** Questions\
**Tags:** nx, explorer\
**Created:** [September 23, 2023, 11:19am UTC](https://forum.elixirforum.com/t/missing-functions-in-explorer-dataframes-series/58448 "2023-09-23T11:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![billylanchantin](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/billylanchantin/32/28428_2.png) [@billylanchantin](https://forum.elixirforum.com/u/billylanchantin)\
**Post date:** [September 23, 2023, 5:19pm UTC](https://forum.elixirforum.com/t/missing-functions-in-explorer-dataframes-series/58448/3 "2023-09-23T17:19:43Z")

</div>

> [@sehHeiden](#):
>
> The last question is, about Date(time) columns. How can I convert a Date to a calendar week?

Sorry I missed this part. Also I’m not sure what a “calendar week” is. Is that the index of the week in the calendar year? If so this could work:

```elixir
S.from_list([~D[2023-01-01], ~D[2023-01-08], ~D[2023-02-23]])
# #Explorer.Series<
# Polars[3]
# date [2023-01-01, 2023-01-08, 2023-02-23]
# >
|> S.transform(&Date.day_of_year/1)
# #Explorer.Series<
# Polars[3]
# integer [1, 8, 54]
# >
|> S.quotient(7)
# #Explorer.Series<
# Polars[3]
# integer [0, 1, 7]
# >

```

---

_[View the full topic](https://forum.elixirforum.com/t/missing-functions-in-explorer-dataframes-series/58448)._
