From e91bf7b8a16d53a9c675b4edda7d41791667066e Mon Sep 17 00:00:00 2001 From: Kene David Nwosu <71232724+kendavidn@users.noreply.github.com> Date: Sat, 14 Dec 2024 17:30:24 +0000 Subject: [PATCH] Update quarto_dashboard_example.qmd --- quarto_dashboard_example.qmd | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/quarto_dashboard_example.qmd b/quarto_dashboard_example.qmd index 7b1a0e7..122c9e2 100644 --- a/quarto_dashboard_example.qmd +++ b/quarto_dashboard_example.qmd @@ -6,7 +6,7 @@ format: dashboard ```{python} import pandas as pd import plotly.express as px -import tabulate +import itables # Load the data gap = px.data.gapminder() @@ -96,9 +96,6 @@ bar_fig ## Row 1 {height=30%} ```{python} -import itables -from IPython.display import Markdown - # Create regional summary reg_sum = ( gap_07.groupby("continent") @@ -118,7 +115,7 @@ reg_sum = ( .round(2) ) -Markdown(reg_sum.to_markdown()) +itables.show(reg_sum) ``` ## Row 2 {height=70%}