-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] explicit default parameter for case_when (#1165)
* add if_else function as standalone for use in pandas.assign * changelog * Update janitor/functions/case_when.py Co-authored-by: 40% <Zeroto521@gmail.com> * Update janitor/functions/case_when.py Co-authored-by: 40% <Zeroto521@gmail.com> * changelog * updates based on feedback * if_else addition to docs * drop if_else idea; make default parameter mandatory * changelog * add deprecation warning * single function for checks and computation - separation unnecessary * clean up tests * update tests Co-authored-by: sammychoco <samuel.oranyeli@slalom.com> Co-authored-by: 40% <Zeroto521@gmail.com> Co-authored-by: root <root@45d364731ba2>
- Loading branch information
1 parent
27b3201
commit 352977c
Showing
4 changed files
with
162 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.