Skip to content

Commit 70e2b0c

Browse files
authored
fix bug in etable # (#594)
1 parent 1b4c7cb commit 70e2b0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyfixest/report/summarize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def etable(
256256
for i, model in enumerate(models):
257257
if model._fixef is not None and fixef in model._fixef.split("+"):
258258
fe_df.loc[i, fixef] = "x"
259-
# Replace NaNs with empty strings
260-
fe_df.fillna("-", inplace=True)
259+
else:
260+
fe_df.loc[i, fixef] = "-"
261261
# Sort by model
262262
fe_df.sort_index(inplace=True)
263263
# Transpose & concatenate the two dataframes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyfixest"
3-
version = "0.24.0"
3+
version = "0.24.1"
44

55
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)."
66
authors = ["Alexander Fischer <[email protected]>", "Styfen Schär"]

0 commit comments

Comments
 (0)