# December 12, 2022: Group Dates in Pivot Tables, Reduced Dependencies

## Group Dates within Pivot Tables

Pivot tables now have better support for aggregation within time periods. If you use a `datetime` column in the Rows or Columns section of a pivot table, you can now group based on the year, month, day of week, and much more. If you're analyzing time-based data in Python, Mito takes turns 20 lines of code into a few clicks!

<figure><img src="/files/rm6fFOpIbyIhASL9Z4fQ" alt=""><figcaption><p>Using a time bucket in a pivot table to ignore the days of the month in an aggregation.</p></figcaption></figure>

## Reduced Dependencies

We've removed the `ipywidgets` and `jupyterlab_widgets` Python packages as dependencies from Mito. This makes Mito installable on more systems, and should reduce installation errors for new users as well.

If you notice any issues with installation or upgrading, please do reach out!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trymito.io/misc/release-notes/december-12-2022-group-dates-in-pivot-tables-reduced-dependencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
