Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API for pyfixest 0.17.0 #69

Merged
merged 4 commits into from
Mar 5, 2024
Merged

New API for pyfixest 0.17.0 #69

merged 4 commits into from
Mar 5, 2024

Conversation

s3alfisc
Copy link
Contributor

@s3alfisc s3alfisc commented Mar 2, 2024

Hi Arthur, @Wenzhi-Ding and I have updated the pyfixest API, which we will release with pyfixest 0.17.0. It should be more user-friendly and also helps us with keeping the repo in order. The changes are minimal and I think I have caught all places in CfE where pyfixest is called. I'll update you here once version 0.17.0 is released. The changes are non-breaking, so there is no need to upgrade immediately.

With the new API, a pyfixest workflow would look like this:

import pyfixest as pf
data = pf.get_data()
fit = pf.feols("Y ~ X1", data = data)
pf.etable([fit])

In this PR, I have updated the regression chapter to reflect these changes and changed the required pyfixest version to 0.17.0.

Copy link
Owner

@aeturrell aeturrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is brilliant—thanks for making it super super easy for me @s3alfisc. I like the API changes too.

@aeturrell aeturrell merged commit fe8aa14 into aeturrell:main Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants