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

Move impute_pencon targets to csv #435

Merged
merged 2 commits into from Sep 15, 2023

Conversation

andersonfrailey
Copy link
Collaborator

This PR moves the targets used in impute_pencon.py from a string in the python file to separate CSV files. The argument for doing this is that these targets are specific to the 2011, so when we update TaxData to be compatible with more recent versions of the PUF we'll need to use different targets. This PR will allow us to add new targets, while keeping the old ones for backwards compatibility.

I compared the resulting PUF to the PUF created from the master branch and while the column order is difference (see issue #433), the values in the PUF are the same.

@andersonfrailey
Copy link
Collaborator Author

If there are no objections, I will merge this at the end of the day

@jdebacker
Copy link
Member

LGTM @andersonfrailey!

@andersonfrailey andersonfrailey merged commit 88e00d0 into PSLmodels:master Sep 15, 2023
3 checks passed
@andersonfrailey andersonfrailey deleted the imputepenconcsv branch September 15, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants