-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Fix+test division by negative zero #27278
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
Conversation
@@ -1,5 +1,4 @@ | |||
import numbers | |||
import sys |
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.
all edits in this file are in the "misc" category
@@ -4339,6 +4339,7 @@ def test_store_datetime_mixed(self): | |||
df["d"] = ts.index[:3] | |||
self._check_roundtrip(df, tm.assert_frame_equal) | |||
|
|||
# FIXME: don't leave commented-out code | |||
# def test_cant_write_multiindex_table(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.
misc category
@@ -84,6 +84,8 @@ plugins = Cython.Coverage | |||
[coverage:report] | |||
ignore_errors = False | |||
show_missing = True | |||
omit = | |||
pandas/_version.py | |||
# Regexes for lines to exclude from consideration |
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.
misc category, xref #26877
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.
aside from a negative change in test_categorical ok
@@ -41,14 +41,19 @@ def dtype(): | |||
return CategoricalDtype() | |||
|
|||
|
|||
@pytest.fixture |
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.
pls don't change the fixture setup; these are very explict and match every other extension type.
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.
ok, will change them all in a dedicated pass (as discussed at the sprint)
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.
right if you change them all prob ok, but separate pass
is this change user facing at all? or just test comparisons? |
Yes, just barely:
Similar for divmod. truediv is unchanged. Series is unchanged. |
ok that's fine then, wouldn't bother with a release note. |
thanks @jbrockmendel |
Discovered while trying to reconcile Series vs Index arithmetic behavior.
A couple of other small misc changes ported from other branches, will be noted inline.