-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
BUG: Fix user-facing AssertionError with to_html (#25608) #25620
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 user-facing AssertionError with to_html (#25608) #25620
Conversation
Codecov Report
@@ Coverage Diff @@
## master #25620 +/- ##
==========================================
+ Coverage 91.26% 91.26% +<.01%
==========================================
Files 173 173
Lines 52968 52969 +1
==========================================
+ Hits 48339 48340 +1
Misses 4629 4629
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #25620 +/- ##
==========================================
+ Coverage 91.26% 91.26% +<.01%
==========================================
Files 173 173
Lines 52968 52969 +1
==========================================
+ Hits 48339 48340 +1
Misses 4629 4629
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.
Nice!
cc @jreback
doc/source/whatsnew/v0.25.0.rst
Outdated
@@ -214,7 +214,7 @@ I/O | |||
- Bug in :func:`read_json` for ``orient='table'`` when it tries to infer dtypes by default, which is not applicable as dtypes are already defined in the JSON schema (:issue:`21345`) | |||
- Bug in :func:`read_json` for ``orient='table'`` and float index, as it infers index dtype by default, which is not applicable because index dtype is already defined in the JSON schema (:issue:`25433`) | |||
- Bug in :func:`read_json` for ``orient='table'`` and string of float column names, as it makes a column name type conversion to Timestamp, which is not applicable because column names are already defined in the JSON schema (:issue:`25435`) | |||
- | |||
- Bug in converting to HTML when using an invalid type for ``classes`` parameter raised ``AsseertionError`` instead of ``TypeError`` (:issue:`25608`) |
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.
an you reference :meth:DataFrame.to_html
; this is not a bug, rather a change.
thanks @ArtificialQualia |
git diff upstream/master -u -- "*.py" | flake8 --diff
I did not use an oxford comma in the error description, which is how it was written in the issue's expected result.