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

Small extension to etable that allows to relabel variables #577

Merged
merged 5 commits into from
Aug 9, 2024

Conversation

dsliwka
Copy link
Contributor

@dsliwka dsliwka commented Aug 9, 2024

Allows to pass a dictionary to the labels argument in etable. This dictionary is used to relabel the variables in the displayed regression table. Applies to dependent variable, explanatory variables and fixed effects. Fixed effects can also be separately relabeled with felabels dictionary. Interaction terms will be relabeled using the labels of the interacted variables.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

Attention: Patch coverage is 70.83333% with 7 lines in your changes missing coverage. Please review.

Files Patch % Lines
pyfixest/report/summarize.py 63.15% 7 Missing ⚠️
Files Coverage Δ
tests/test_summarise.py 93.10% <100.00%> (-6.90%) ⬇️
pyfixest/report/summarize.py 87.44% <63.15%> (ø)

... and 26 files with indirect coverage changes

@s3alfisc
Copy link
Member

s3alfisc commented Aug 9, 2024

This looks great, thank you @dsliwka! I slightly updated the docs and added some very simple API tests. Will merge it tomorrow morning in case the CI passes after my minor changes=)

@s3alfisc
Copy link
Member

s3alfisc commented Aug 9, 2024

@all-contributors please add @dsliwka for code and docs

Copy link
Contributor

@s3alfisc

I've put up a pull request to add @dsliwka! 🎉

@s3alfisc s3alfisc merged commit bf56e88 into py-econometrics:master Aug 9, 2024
6 of 7 checks passed
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.

2 participants