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

Add a function to easily re-code values #4

Closed
jrm5100 opened this issue Jun 20, 2019 · 0 comments

Comments

@jrm5100
Copy link
Contributor

commented Jun 20, 2019

Add as a function in the dataframe accessor.

Example: "7" and "9" are refused/didn't answer and should be converted to "nan" for given columns

recode_value(value, replacement, columns: List[str]) to change the value to the replacement value in the given columns.

@jrm5100 jrm5100 self-assigned this Jun 20, 2019

@jrm5100 jrm5100 changed the title Add functions to recode values Add a function to easily re-code values Jun 20, 2019

@jrm5100 jrm5100 closed this in #7 Jun 20, 2019

@jrm5100 jrm5100 added the enhancement label Jun 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.