-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: reorg pandas/io/json to sub-dirs #15322
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
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.
Super!
I would only call json.py
-> _json.py
and normalize.py
-> _normalize.py
so it is very explicit only the things in __init__.py
are regarded as public
@jorisvandenbossche done, waiting for build to finish and will merge. |
actually I changed it back; you can simply delete the module names and they don't appear in the namespace. I don't like having private |
The disadvantage of this is that they are still in the namespace, you just can't tab complete them, but still import (I think). I agree that the leading |
you can do this removes most/all of the stuff from the namespace. |
Hmm, I am getting some strange errors with ipython tab completion with this branch. First, on |
I think you have to delete the |
@jorisvandenbossche py2 is crazy! (nvm was a flake issue) |
Still giving me the same troubles with ipython completion after deleting the pyc files (and even after a full setup.py clean and rebuild) So I would either just remove the
It's not that important, but in my experience, people tend to see that |
@jorisvandenbossche just merged. try it again. |
we don't use |
You cannot replicate the problem I see? (eg on
Yes, but changing habits always starts somewhere :-) And you typically do it there were you reorganize files and have the chance to do it. I also wanted to propose it for the new |
@jorisvandenbossche what version of IPython are you using? I don't see any issues with IPython master. Ahh, but installing IPython 5.2.2, I do see the tab completer crashing :/ |
xref pandas-dev#14904 Author: Jeff Reback <[email protected]> Closes pandas-dev#15322 from jreback/json and squashes the following commits: 0c2da60 [Jeff Reback] DOC: whatsnew update fa3deef [Jeff Reback] CLN: reorg pandas/io/json to sub-dirs
xref #14904