Repository navigation
Publish a pandas DataFrame to PDF guide and styled report - #14
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a practical pandas DataFrame-to-PDF guide, from a small copy-and-paste script to a complete two-page product report. Readers can download the PDF, both page previews, and a self-contained source ZIP with data, CSS, requirements, and an output verifier. Navigation, the examples gallery, and the notebook guide link to the new workflow.
The report demonstrates embedded typography, summary panels, native SVG bars, repeated table headers, and page numbers. The guide explains escaping, nullable values, integer-cent money, column widths, and the limits of the supplied layout. Existing showcase PDFs retain their original 2.4.0 verification scope; this example is explicitly pinned to 2.5.2.
Validation: the example passed on Windows/Linux with pandas 2.3.3 and 3.0.6 (CI evidence); all four downloaded sample PDFs match the published SHA-256. The source ZIP reproduces that PDF, the guide's exact Python block executes, all nine fixture pages and the small-script preview were visually reviewed, and the strict MkDocs build plus 48-page internal-link check passed. Desktop/mobile browser checks passed without page errors or horizontal page overflow. The downloadable verification manifest records hashes and scope.
Source example: fullbleed-engine/fullbleed-official#23