-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: pprint index/columns? #6295
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
Comments
IIRC @cpcloud ? |
It looks to me like it just truncates the columns with a |
can you post an example with how you think it should look? |
List printing usually works for me. Even the nice lined up columns of tab completion are easier to parse though.
|
Please, no linebreaks after each element: I usually use the output to copy it and use it as a row selection This is what ipython currently produces:
|
The counterargument is that you can always slice Both sides of this are really arguments for some kind of IDE with a variable browser window pane and tab-completion for selecting variable names... It's still the only thing I miss from using Stata. |
This is what ipythons interact can do! (in ipython 2.0)....now to get someone to write it......(for frames) |
Well that's interesting. They'll be qtconsole/notebooks-only I take it? Is this the link? I'm way behind on ipython-dev. |
It may be notebook only. I'm guessing the qt console doesn't handle javascript. |
yah..i think notebook only |
http://jakevdp.github.io/blog/2013/12/05/static-interactive-widgets/ I don't think it would be very hard to have as default a couple of sliders that show the extent of a frame (and then allow hiding/showing of various columns). |
http://nbviewer.ipython.org/gist/rossant/9463955 proof of concept! |
xref #9741 To do this right is actually a bit non-trivial. and will require some refactoring to gather all of the scattered bits of code. |
I haven't looked at the source yet, but do columns ever get pretty printed? It looks like indices do if it's a DatetimeIndex, but not otherwise.
I often find myself doing
otherwise it's not really readable.
The text was updated successfully, but these errors were encountered: