Create PDF Tables with Python FPDF2

Опубликовано: 02 Июнь 2021
на канале: Chart Explorers
41,835
482

In this video we go over 4 methods of creating tables. The first two options are built in, but are either unprofessional looking or using HTML which can be cumbersome for larger tables. To overcome these issues, I extended the FPDF class to include a create_table class to easily and professionally make tables when creating a pdf with Python.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
$15 off Annual Dataquest subscription
app.dataquest.io/referral-signup/qybqz3r8/
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Github: https://github.com/bvalgard/create-pd...

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Consider subscribing for weekly tips, tricks, and tutorials.    / @chartexplorers  

Join my Discord Server   / discord  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Documentation: https://pyfpdf.github.io/fpdf2/Tables...

0:00 Intro
0:15 Method one (multi-cell)
0:22 Second Method (HTML)
0:36 Better Methods Setup
2:05 create_table class
5:36 create_table function