Skip to content

REF: move templated index.pyx code to non-template #24669

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
Jan 8, 2019

Conversation

jbrockmendel
Copy link
Member

Following cleanup of libalgos, we can get a little bit of code out of the tempita file.

@@ -681,5 +687,10 @@ cdef class BaseMultiIndexCodesEngine:
return False


cdef class ObjectEngine(IndexEngine):
Copy link
Contributor

Choose a reason for hiding this comment

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

I would move this much higher up, is it the intention NOT to inherit from this?

Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a class description (ideally for other engines too, but ok for here 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.

Yah inheritance in this file is weird; DatetimeEngine etc all subclass Int64Engine, which isn't defined until lower in the file once the "include ..." is done. I'll move this up and add a description, sure.

@jreback jreback added the Clean label Jan 8, 2019
@jreback jreback added this to the 0.24.0 milestone Jan 8, 2019
@jreback jreback merged commit caf462c into pandas-dev:master Jan 8, 2019
@jreback
Copy link
Contributor

jreback commented Jan 8, 2019

yeah this is ok.

@jbrockmendel jbrockmendel deleted the idx branch January 8, 2019 21:26
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
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.

2 participants