From 09a6a5ee521c41449f6b5512ffa2b96930653220 Mon Sep 17 00:00:00 2001 From: Dirk Sliwka <49401450+dsliwka@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:16:26 +0200 Subject: [PATCH] Bug fix to display default table note in etable (#665) --- pyfixest/report/summarize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfixest/report/summarize.py b/pyfixest/report/summarize.py index 6932da2e..48edd500 100644 --- a/pyfixest/report/summarize.py +++ b/pyfixest/report/summarize.py @@ -444,7 +444,7 @@ def etable( res_all.columns = pd.MultiIndex.from_arrays(cindex) # Generate generic note string if none is provided - if notes is None: + if notes == "": if type == "gt": notes = ( f"Significance levels: * p < {signif_code[2]}, ** p < {signif_code[1]}, *** p < {signif_code[0]}. "