-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: cleaning core/common.py #12804
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
CLN: cleaning core/common.py #12804
Conversation
65252fe
to
043f24c
Compare
8e43bfc
to
9eab970
Compare
cc @wesm still more to do, but this is a start. |
@shoyer @jorisvandenbossche @sinhrks @TomAugspurger any comments. don't want to leave this out too long as it touches lots of things. |
Not objections to your description. Not a big deal, but does |
its slightly longer, but no big deal. |
assuming you're just moving stuff around, this seems sane to me |
I'll look later this AM (pacific time) |
_multiprocess_can_split_ = True | ||
|
||
|
||
class TestABCClasses(tm.TestCase): |
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.
Put these tests instead in pandas/tests/types
?
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.
done
This all looks fine to me. Aside: I'm on vacation most of this month but planning to spend some time in May / June / July on refactoring to look toward retooling DataFrame internals (it would be nice to plot a course to removing the BlockManager, deprecating Panel, and some of the other under-the-hood internals work we've been discussing). In the meantime, anything that can be done to get organized and compartmentalize non-user code that will be affected will help this proceed more quickly. I think this patch helps us along this path. |
CLN: move core/dtypes.py -> types
np on schedule. will be a bit more internal refactoring soon. |
@TomAugspurger do you feel strongly on the |
Not at all, especially since this is all internal and not user facing. |
@jreback : Are you missing something in |
I pushed a change. though I installed fine from a fresh clone (this had to do with package setup) |
@gfyoung you prob got somethign like this: https://ci.appveyor.com/project/jreback/pandas-465/build/1.0.409/job/fnp6uhksqcp039g4 |
@jreback : Indeed, I did, and I'm happy to say that with your most recent commit, everything installs just fine now! Thanks! |
great not sure why our install test on Travis didn't fail in any event appveyor catches it because of the way it builds (it's a full conda build) not just an inplace build |
@TomAugspurger I think the doc build broke: lots of Styler warnings now. https://travis-ci.org/pydata/pandas/jobs/121316764. building locally so far so good though (not done yet) |
Yes, just wanted to mention the same. It's the same error again as before. I can't remember anymore what solved it before |
Mmm, I think it magically fixed itself last time. Will look later. |
The |
yep, just pushed it |
ok, this now built ok for me locally. Still these but IIRC they were there before
|
partial on #12503
pandas/types
pandas/types
pandas/core/missing
.take
and.diff
tocore/algorithms
formats
withcore/formats,style
moved andprinting.py
(formcore/common.py
)