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.