-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: fix empty Series repr for subclasses #27001
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: fix empty Series repr for subclasses #27001
Conversation
Codecov Report
@@ Coverage Diff @@
## master #27001 +/- ##
==========================================
- Coverage 91.99% 91.98% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46707 -4
- Misses 4063 4067 +4
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## master #27001 +/- ##
==========================================
- Coverage 91.99% 91.98% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46707 -4
- Misses 4063 4067 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #27001 +/- ##
==========================================
- Coverage 91.99% 91.98% -0.01%
==========================================
Files 180 180
Lines 50774 50774
==========================================
- Hits 46711 46707 -4
- Misses 4063 4067 +4
Continue to review full report at Codecov.
|
@@ -39,6 +39,9 @@ def test_subclass_unstack(self): | |||
|
|||
tm.assert_frame_equal(res, exp) | |||
|
|||
def test_subclass_empty_repr(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.
Reference PR number as comment below this
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.
General question: if a PR is already passing, is it worth another commit and CI run just for this?
I'd prefer to just merge and be done with it.
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.
yep that’s cool
Thanks @jorisvandenbossche ! |
Currently, the 'Series' name is hardcoded in the empty repr. This small patch ensures it uses the name of the class.