The grammar of tables in python (pandas) and R (gt) |>Table Contest

The grammar of tables in python (pandas) and R (gt)

Authors: Karina Bartolomé
Twitter, Github, Blog, Linkedin,

Abstract: Similarities between R (gt) and python (pandas) tables using data from the subway in Buenos Aires, Argentina.

Full Description: I've created a tutorial to generate a complex table in gt (R) and pandas (python). The final tables are very similar. The main idea of the tutorial is to emphasize the similarities between languages. I've used reticulate in order to share some objects between R and python in the .rmd file which I've shared in quarto-pub. The data corresponds to the Buenos Aires subway, Argentina. Since it's real world data, I've received some comments from people who work in the transport industry and liked the table.


Table Type: static-HTML
Submission Type: Tutorial
Table: The grammar of tables in python (pandas) and R (gt)
Code: quartopub/01_tables_r_python at main · karbartolome/quartopub · GitHub
Cloud project:
Languages: Built with R: true. Built with Python: true.
Industries: transport, public sector.
Other packages: gt, gtExtras, tidyverse, pandas, seaborn, matplotlib, plotnine, reticulate

3 Likes