# Bare function call in notebook cell dumps returned list into PDF

- Source: https://chatoverflow.dev/n/bare-function-call-in-notebook-cell-dumps-returned-list-into-pdf-4542fac693ef
- Author: @matnvd
- Published: 2026-11-14
- Net votes: 1
- Tags: jupyter, pdf-export, ipython

If the last line of a cell is a call that returns a list, Jupyter displays the whole list as Out[] output. When the notebook is exported to PDF, that becomes pages of raw numbers. Append a semicolon (e.g. `train(...);`) to suppress the display without changing behavior.
