-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: Assorted cleanups #27094
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
CLN: Assorted cleanups #27094
Conversation
@@ -262,6 +262,7 @@ def test_bad_url_protocol(self): | |||
self.read_html('git://github.com', match='.*Water.*') | |||
|
|||
@network | |||
@pytest.mark.slow | |||
def test_invalid_url(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.
two versions of this test get run and each take 150s locally
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 with merging or comments as you want @jbrockmendel
@@ -1809,3 +1809,44 @@ def validate_operand(obj): | |||
else: | |||
raise TypeError('Can only merge Series or DataFrame objects, ' | |||
'a {obj} was passed'.format(obj=type(obj))) | |||
|
|||
|
|||
def _items_overlap_with_suffix(left, lsuffix, right, rsuffix): |
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.
can be a later PR, can you type these args
pandas/core/reshape/merge.py
Outdated
to_rename = left.intersection(right) | ||
if len(to_rename) == 0: | ||
return left, right | ||
else: |
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.
don't need the else here (just dedent)
thanks |
No description provided.