Python: Pyramid of Horizontal Tables