-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Small cleanups #26874
Small cleanups #26874
Conversation
@property | ||
def shape(self): | ||
return (len(self),) | ||
|
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.
already defined in parent class
@@ -191,6 +191,8 @@ def _chk_truncate(self): | |||
series = concat((series.iloc[:row_num], | |||
series.iloc[-row_num:])) | |||
self.tr_row_num = row_num | |||
else: | |||
self.tr_row_num = None |
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.
not a big deal, but this attribute should exist unconditionally
Codecov Report
@@ Coverage Diff @@
## master #26874 +/- ##
==========================================
- Coverage 91.88% 91.87% -0.02%
==========================================
Files 179 179
Lines 50696 50693 -3
==========================================
- Hits 46581 46573 -8
- Misses 4115 4120 +5
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #26874 +/- ##
==========================================
- Coverage 91.88% 91.87% -0.02%
==========================================
Files 179 179
Lines 50696 50693 -3
==========================================
- Hits 46581 46573 -8
- Misses 4115 4120 +5
Continue to review full report at Codecov.
|
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.
Looks good to me.
Broken off from another branch to trim the diff on an upcoming PR.