-
Notifications
You must be signed in to change notification settings - Fork 173
[ENH] Fill direction #879
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
[ENH] Fill direction #879
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #879 +/- ##
==========================================
+ Coverage 94.89% 94.92% +0.02%
==========================================
Files 19 19
Lines 2078 2090 +12
==========================================
+ Hits 1972 1984 +12
Misses 106 106 |
@samukweku Looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of awesome ideas in here, approving, @samukweku 😄.
@@ -2523,7 +2521,7 @@ def row_to_names( | |||
df = df.drop(df.index[range(row_number)]) | |||
|
|||
if reset_index: | |||
df.reset_index(drop=["index"], inplace=True) | |||
df = df.reset_index(drop=["index"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 I like this change!
@@ -37,6 +37,8 @@ | |||
from scipy.stats import mode | |||
|
|||
from .errors import JanitorError | |||
from enum import Enum | |||
from operator import methodcaller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my, that is such Python trickery, @samukweku 😄 🤣
@nvamsikrishna05 would you like to do the honors? Please hit the big green button at your convenience! |
PR Description
Please describe the changes proposed in the pull request:
This PR improves fill_direction.
PR Checklist
Please ensure that you have done the following:
<your_username>
:dev
, but rather from<your_username>
:<feature-branch_name>
.AUTHORS.rst
.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.