Skip to content

Commit

Permalink
fix bug in etable # (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3alfisc authored Aug 29, 2024
1 parent 1b4c7cb commit 70e2b0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyfixest/report/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Styfen Schär"]
Expand Down

0 comments on commit 70e2b0c

Please sign in to comment.