-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: reorganize index.py, test_index.py #12124
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
Conversation
Once the build passes, best not to let this patch linger (to avoid rebase conflicts). @jreback I don't think I broke anything but let me know if any concerns that I can look into |
The python 2 tests are still failing, I think you missed a |
Thanks, think I got it now. Will check the build in an hour or two here |
@jorisvandenbossche @jreback merge when ready. thank you |
InvalidIndexError) | ||
from .category import CategoricalIndex # noqa | ||
from .multi import MultiIndex # noqa | ||
from .numeric import NumericIndex, Float64Index, Int64Index # noqa |
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.
the relative imports are not consistent with the rest of the import methodology. Ok, but should define when relative imports are ok.
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.
I'll make them absolute
OK, cleaned up things per your comments. |
lgtm. ping when green. |
@jreback we are good to go |
boo ya! thanks! |
Split apart these two very large modules and created a new
pandas.indexes
subpackage. It would be nice to move all the index class code frompandas.tseries
there in a followup patch.