Display DataFrames to users · the ace_tools shim + the real alternatives · verified 2026

ace_tools_open cheat sheet

ace_tools is an internal OpenAI helper that ChatGPT's code-interpreter uses to surface DataFrames to the user — it is not on PyPI, so code that imports it fails everywhere else. ace_tools_open is a tiny community re-implementation providing the one function people hit: display_dataframe_to_user(name, dataframe). It's minimal & low-maintenance, so this sheet documents it honestly and covers the real, maintained ways to display a DataFrame in notebooks, terminals, and agent sandboxes — which is what you almost always actually want. Targets ace_tools_open 0.1.0.

ace_tools_open notebook display terminal & export gotcha most common

Verified 2026-08-31 against pypi.org/project/ace-tools-open (0.1.0, 2024-07-12; low/no recent maintenance) and the zinccat/ace_tools_open repo. Context: the original ace_tools is OpenAI-internal & unpublished; if ChatGPT gave you import ace_tools, that's why it errors locally — use a real display method below.

Outline

What ace_tools_open is (and isn't), then the maintained alternatives: rich notebook display, interactive tables, and terminal/export — with a "which to use" guide.

ace_tools_open

  1. 1What it is & install
  2. 2display_dataframe_to_user

Notebook display

  1. 3pandas + IPython.display
  2. 4Interactive tables
  3. 5Styling & static tables

Terminal & export

  1. 6Terminal display
  2. 7Export & share
  3. 8Which to use

ace_tools_open

The shim itself: what it does, and the important caveat about the original.

1What it is & installthe shim
2display_dataframe_to_userthe one function

Notebook Display

The maintained ways to show a DataFrame richly in Jupyter/agent notebooks.

3pandas + IPython.displayzero deps
4Interactive tablessort/search/paginate
5Styling & static tablesmake it readable

Terminal & Export

Outside notebooks: pretty-print in a terminal, or export the table.

6Terminal displayno notebook
7Export & sharehand it off
8Which to usedecide fast

Worth memorizing

ace_tools = OpenAI-internalnot on PyPI — import fails locally
pip install ace_tools_opencommunity shim for generated code
display_dataframe_to_user(name, df)its one function
from IPython.display import displaythe real replacement, zero deps
display(df)rich HTML table anywhere in a notebook
pd.set_option display.max_rows/columnsstop truncation
itables.show(df)searchable/sortable big tables
df.styleheatmaps, formatting, highlights
df.to_markdown()CLI / chat / agent output (tabulate)
rich print(df)pretty terminal tables
df.to_html / to_csv / to_excelshare the table or the data
new codeprefer maintained display, not the shim