You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sorting_variable optional for factor_library download
Calling download_data("Tidy Finance", "factor_library") without a
sorting_variable now returns the default portfolio construction for all
sorting variables instead of raising. Other defaults still apply; pass
fill_all=True to leave every column unrestricted.
Closes#55
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
## Unreleased
4
4
5
+
-**`sorting_variable` is now optional for `factor_library`:** Calling
6
+
`download_data("Tidy Finance", "factor_library")` without a
7
+
`sorting_variable` now returns the default portfolio construction for
8
+
all sorting variables instead of raising an error. Other defaults
9
+
(e.g. `rebalancing`, `weighting_scheme`) still apply; pass
10
+
`fill_all=True` to leave every column unrestricted.
5
11
-**Dependencies (replaced pyfixest with formulaic):** The `pyfixest` dependency was dropped in favor of [`formulaic`](https://github.com/matthewwardrop/formulaic) plus a small internal numpy OLS helper (`_fit_ols`). `pyfixest` was used only for plain OLS with classical (IID) standard errors in `estimate_model` and the cross-sectional / IID-variance steps of `estimate_fama_macbeth`, but it pulled in `great-tables` → `multimark`, a `cffi` C-extension that ships no Python 3.14 wheels and therefore required a C/C++ toolchain (e.g. MSVC Build Tools on Windows) to install on unsupported interpreters. `_fit_ols` builds the design matrix via `formulaic` and reproduces `feols` coefficients, standard errors, t-statistics, and residuals to ~1e-9 for models without fixed effects, so results are unchanged. Note that `estimate_model` and `estimate_fama_macbeth` now perform classical OLS only (the fixed-effects / clustered-SE features of `pyfixest` were never used and are no longer available).
0 commit comments