Skip to content

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.

"""
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