diff --git a/pyfixest/report/summarize.py b/pyfixest/report/summarize.py index 04565336..776c079f 100644 --- a/pyfixest/report/summarize.py +++ b/pyfixest/report/summarize.py @@ -256,8 +256,8 @@ def etable( for i, model in enumerate(models): if model._fixef is not None and fixef in model._fixef.split("+"): fe_df.loc[i, fixef] = "x" - # Replace NaNs with empty strings - fe_df.fillna("-", inplace=True) + else: + fe_df.loc[i, fixef] = "-" # Sort by model fe_df.sort_index(inplace=True) # Transpose & concatenate the two dataframes diff --git a/pyproject.toml b/pyproject.toml index c221c934..868750c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyfixest" -version = "0.24.0" +version = "0.24.1" description = "Fast high dimensional fixed effect estimation following syntax of the fixest R package. Supports OLS, IV and Poisson regression and a range of inference procedures (HC1-3, CRV1 & CRV3, wild bootstrap, randomization inference, simultaneous CIs, Romano-Wolf's multiple testing correction). Additionally, supports (some of) the regression based new Difference-in-Differences Estimators (Did2s, Linear Projections)." authors = ["Alexander Fischer ", "Styfen Schär"]