Checks
What type of jupyter notebook were you using (VSCode notebook, google colab, Jupyter Lab, Jupyter notebook). Select multiple if you can reproduce this in multiple environments. If other, please add to description.
Jupyter Lab
Reproducible example
pl.DataFrame(
{ "duration": [ 100, 200, 125, 500 ] },
schema={ "duration": pl.Duration() } # Any time unit can be used here, not exclusive to `us`
)
Issue description
Columns that contain polars Duration types do not display.
Using the above example, the following output is produced:
Whereas using the polars _repr_html_:
Expected behavior
To show the magnitude of the duration in the time unit of the duration.
Installed versions
Details
```
Selected Jupyter core packages...
executing in jupyter-lab
buckaroo : 0.12.15
jupyterlab : 4.5.5
notebook : not installed
ipywidgets : 8.1.8
traitlets : 5.14.3
jupyter_core : 5.9.1
pandas : 3.0.1
numpy : 2.4.2
IPython : 9.10.0
ipykernel : 7.2.0
jupyter_client : 8.8.0
jupyter_server : 2.17.0
nbclient : 0.10.4
nbconvert : 7.17.0
nbformat : 5.10.4
qtconsole : not installed
buckaroo : [REDACTED]/.venv/lib/python3.11/site-packages/buckaroo/__init__.py
jupyterlab : [REDACTED]/.venv/lib/python3.11/site-packages/jupyterlab/__init__.py
notebook : not installed
ipywidgets : [REDACTED]/.venv/lib/python3.11/site-packages/ipywidgets/__init__.py
traitlets : [REDACTED]/.venv/lib/python3.11/site-packages/traitlets/__init__.py
jupyter_core : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_core/__init__.py
pandas : [REDACTED]/.venv/lib/python3.11/site-packages/pandas/__init__.py
numpy : [REDACTED]/.venv/lib/python3.11/site-packages/numpy/__init__.py
IPython : [REDACTED]/.venv/lib/python3.11/site-packages/IPython/__init__.py
ipykernel : [REDACTED]/.venv/lib/python3.11/site-packages/ipykernel/__init__.py
jupyter_client : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_client/__init__.py
jupyter_server : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_server/__init__.py
nbclient : [REDACTED]/.venv/lib/python3.11/site-packages/nbclient/__init__.py
nbconvert : [REDACTED]/.venv/lib/python3.11/site-packages/nbconvert/__init__.py
nbformat : [REDACTED]/.venv/lib/python3.11/site-packages/nbformat/__init__.py
qtconsole : not installed
```
Jupyter Log output
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Buckaroo.
What type of jupyter notebook were you using (VSCode notebook, google colab, Jupyter Lab, Jupyter notebook). Select multiple if you can reproduce this in multiple environments. If other, please add to description.
Jupyter Lab
Reproducible example
Issue description
Columns that contain polars
Durationtypes do not display.Using the above example, the following output is produced:
Whereas using the polars
_repr_html_:Expected behavior
To show the magnitude of the duration in the time unit of the duration.
Installed versions
Details
``` Selected Jupyter core packages... executing in jupyter-lab buckaroo : 0.12.15 jupyterlab : 4.5.5 notebook : not installed ipywidgets : 8.1.8 traitlets : 5.14.3 jupyter_core : 5.9.1 pandas : 3.0.1 numpy : 2.4.2 IPython : 9.10.0 ipykernel : 7.2.0 jupyter_client : 8.8.0 jupyter_server : 2.17.0 nbclient : 0.10.4 nbconvert : 7.17.0 nbformat : 5.10.4 qtconsole : not installed buckaroo : [REDACTED]/.venv/lib/python3.11/site-packages/buckaroo/__init__.py jupyterlab : [REDACTED]/.venv/lib/python3.11/site-packages/jupyterlab/__init__.py notebook : not installed ipywidgets : [REDACTED]/.venv/lib/python3.11/site-packages/ipywidgets/__init__.py traitlets : [REDACTED]/.venv/lib/python3.11/site-packages/traitlets/__init__.py jupyter_core : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_core/__init__.py pandas : [REDACTED]/.venv/lib/python3.11/site-packages/pandas/__init__.py numpy : [REDACTED]/.venv/lib/python3.11/site-packages/numpy/__init__.py IPython : [REDACTED]/.venv/lib/python3.11/site-packages/IPython/__init__.py ipykernel : [REDACTED]/.venv/lib/python3.11/site-packages/ipykernel/__init__.py jupyter_client : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_client/__init__.py jupyter_server : [REDACTED]/.venv/lib/python3.11/site-packages/jupyter_server/__init__.py nbclient : [REDACTED]/.venv/lib/python3.11/site-packages/nbclient/__init__.py nbconvert : [REDACTED]/.venv/lib/python3.11/site-packages/nbconvert/__init__.py nbformat : [REDACTED]/.venv/lib/python3.11/site-packages/nbformat/__init__.py qtconsole : not installed ```Jupyter Log output