The F5

The F5

Share this post

The F5
The F5
How To Make Great Tables In Python

How To Make Great Tables In Python

🐍 Summer

Owen Phillips's avatar
Owen Phillips
Jul 11, 2025
βˆ™ Paid
8

Share this post

The F5
The F5
How To Make Great Tables In Python
3
Share

Howdy folks,

In today’s tutorial I’m going to show you how I made the following table in both Python and R.

The graphic above shows the top performers (by Daily RAPM Estimate) from the first day of Vegas Summer League. To make this chart, I used the great-tables package in Python, which recently got even better thanks to the newly released gt-extras package. These packages are essentially a port of {gt} and {gtExtras} from R, which allow users to quickly make tables that look good.

I’ll walk you through the steps I took in Python to get the data and make the table. Then, at the end, I’ll paste the code for how to do the same thing in R.

Let’s jump in.


How To Make Great Tables In Python

Jump to Python code or R code without commentary.

We’ll start by importing (or installing) the necessary packages.

This post is for paid subscribers

Already a paid subscriber? Sign in
Β© 2025 Owen Phillips
Privacy βˆ™ Terms βˆ™ Collection notice
Start writingGet the app
Substack is the home for great culture

Share