Jupyter notebook renders a MultiIndex Dataframe misaligned
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=470166)
</details>
<!--IssueSummary end-->
The ipynb render struggles to keep this particular multiindex dataframe aligned:
| current | expected |
| ------ | ------ |
|  |  |
Ref https://gitlab.com/gitlab-org/ai-powered/custom-models/cm-notebooks/-/merge_requests/2#note_1976115662.
<!-- template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/issue_templates/Default.md -->
## Example code to reproduce the problem
```python
import pandas as pd
index = pd.MultiIndex.from_tuples(
[('duo-chat with mistral', 'issues-epics')],
names=['answering_model', 'dataset']
)
data = {
1: [16],
2: [3],
3: [26],
4: [36]
}
df = pd.DataFrame(data, index=index)
df.columns.name = "correctness"
df
```
issue