-
Notifications
You must be signed in to change notification settings - Fork 172
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
[BUG] fillna downcast fix for complete
function
#1289
Conversation
🚀 Deployed on https://deploy-preview-1289--pyjanitor.netlify.app |
Codecov Report
@@ Coverage Diff @@
## dev #1289 +/- ##
==========================================
- Coverage 97.36% 96.15% -1.21%
==========================================
Files 78 78
Lines 4176 4114 -62
==========================================
- Hits 4066 3956 -110
- Misses 110 158 +48 |
@samukweku this branch appears to have a conflict that I'm not confident in resolving. Would you be kind enough to help here please? |
GitBot Summary of ChangesThe pull request includes changes to the complete function in the janitor/functions/complete.py file and its corresponding tests in tests/functions/test_complete.py. In complete.py, the logic for groupby in the complete function has been fixed. The support for index has been deprecated and the deprecation warning for fillna in complete has been fixed. The select function now supports variable arguments. In test_complete.py, a new test case has been added to raise a ValueError if the passed label is not found. The test case for multiindex names not found has been updated. In CHANGELOG.md, the changes have been documented under the [Unreleased] section. The changes ensure that the complete function works as expected and improves its overall functionality. cc: @samukweku, please check for correctness! |
Thank you, @samukweku! |
complete
functioncomplete
function
Let's merge, @samukweku! It's been long enough 😄. |
PR Description
Please describe the changes proposed in the pull request:
downcast=infer
from fillna - pandas no longer supports that optionThis PR improves the
complete
function.PR Checklist
Please ensure that you have done the following:
<your_username>
:dev
, but rather from<your_username>
:<feature-branch_name>
.AUTHORS.md
.CHANGELOG.md
under the latest version header (i.e. the one that is "on deck") describing the contribution.Automatic checks
There will be automatic checks run on the PR. These include:
Relevant Reviewers
Please tag maintainers to review.