Skip to content

REF: make ops a directory #27238

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 3 commits into from
Jul 5, 2019
Merged

REF: make ops a directory #27238

merged 3 commits into from
Jul 5, 2019

Conversation

jbrockmendel
Copy link
Member

In working on #27130 I'm finding we have a number of kludges where we check for operator names instead of operator identity because we haven't imported ops.radd, ops.rsub, etc. This is in general because of circularity-avoidance. So this PR breaks off those function definitions into roperator.py in a new core.ops directory.

In a follow-up, parts of core.missing devoted to handling division by zero will belong in core/ops/

@jreback jreback added Clean Internals Related to non-user accessible pandas implementation labels Jul 5, 2019
@jreback jreback added this to the 0.25.0 milestone Jul 5, 2019
@jreback jreback merged commit c95027f into pandas-dev:master Jul 5, 2019
@jbrockmendel jbrockmendel deleted the opsdir branch July 5, 2019 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants