From 9b7cf27a26e6bbfab15cc0db70c4fff492e2571e Mon Sep 17 00:00:00 2001 From: Dirk Sliwka <49401450+dsliwka@users.noreply.github.com> Date: Tue, 22 Oct 2024 18:56:24 +0200 Subject: [PATCH] Bug fix to display default table note in etable --- 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]}. "