Common Issues
Common Issues
Issue: Table not displaying in Jupyter
# Solution: Ensure rich display
from great_tables import GT
table = GT(df)
display(table) # Or just: table
Issue: HTML export looks different
# Solution: Include all styling
table.save("output.html") # Includes CSS
Issue: Image export not working
# Solution: Install webshot or use playwright
pip install webshot
# or
pip install playwright
playwright install chromium
table.save("output.png", web_driver="playwright")
Issue: Slow with large DataFrames
# Solution: Limit rows
df_display = df.head(100)
table = GT(df_display)
Issue: Special characters not rendering
# Solution: Use html() helper
from great_tables import html
cell_content = html("€ 100") # Euro symbol