Skip to content

CLN: remove _combine_series_frame #34374

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

Merged
merged 1 commit into from
May 26, 2020

Conversation

jbrockmendel
Copy link
Member

Following this we can consolidate some dispatch_to_series calls, saving that for a separate step for clarity of exposition.

@jreback jreback added the Clean label May 25, 2020
@jreback jreback added this to the 1.1 milestone May 25, 2020
@jreback
Copy link
Contributor

jreback commented May 25, 2020

lgtm ping on green.

@@ -223,7 +223,7 @@ def evaluate(op, a, b, use_numexpr: bool = True):
use_numexpr : bool, default True
Whether to try to use numexpr.
"""
op_str = _op_str_mapping.get(op, None)
op_str = _op_str_mapping[op]
if op_str is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isnt this always true, so you can drop the if statement now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not always true, some entries in _op_str_mapping give None

@jbrockmendel
Copy link
Member Author

ping

@jreback jreback merged commit c29e395 into pandas-dev:master May 26, 2020
@jbrockmendel jbrockmendel deleted the ref-ops-follow branch May 26, 2020 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants