Skip to content

When using pandas 3.0.0, data wrangler renderer not used when displaying dataframe below notebook cell. #631

Description

Environment data

  • VS Code version: 1.108.2
  • Data Wrangler Extension version (available under the Extensions sidebar): 1.24.0
  • Jupyter Extension version (available under the Extensions sidebar): v2025.9.1
  • Python Extension version (available under the Extensions sidebar): v2026.0.0
  • OS (Windows | Mac | Linux distro) and version: WSL Ubuntu-24.04
  • Pandas version: 3.0.0
  • Python and/or Anaconda version: Python 3.12.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv

Expected behaviour

This snapshot of the renderer output was taken when using pandas 2.3.3.
Image

Actual behaviour

This snapshot of the renderer output was taken with a new workspace that had pandas 3.0.0 installed.

Image

The issue was resolved by uninstalling pandas 3.0.0 and installing pandas 2.3.3.

Steps to reproduce:

  1. Created a new workspace with pandas 3.0.0. Created the t.ipynb notebook with code that creates a simple dataframe and displays it. Executed the cell. The text/html renderer was used instead of the expected data wrangler renderer.

  2. Removed pandas 3.0.0, and installed 2.3.3. Reran the cell. This time the data wrangler renderer was used.

  3. Included snapshots of behavior above.

Here's the sample code from t.ipynb:

# Ran the DataFrame display to trigger Data Wrangler renderer
import pandas as pd

df = pd.DataFrame({
    'A': [1, 2, 3],
    'B': [4, 5, 6]
})
display(df)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions