Skip to content

ENH add show_dimensions display config #6041

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

Closed
wants to merge 3 commits into from

Conversation

hayd
Copy link
Contributor

@hayd hayd commented Jan 22, 2014

see http://stackoverflow.com/questions/21293983/disabling-dataframe-dimensions-printing

If you've already done this @dsm054 apologies, just saw your comment... :s

@dsm054
Copy link
Contributor

dsm054 commented Jan 23, 2014

Next time I'll call dibs. In any case, I found an error in the test suite while I was doing it, so it wasn't all a waste.

What do you think about the reference in _repr_html_? I switched it too in mine.

@jreback
Copy link
Contributor

jreback commented Jan 23, 2014

anyone want to provide a doc on 'how to configure your display', showing what/how the options interact? (for the main docs)

@hayd
Copy link
Contributor Author

hayd commented Jan 23, 2014

@dsm054 _repr_html is a good spot... Added!

@jreback definitely needed.

@jreback
Copy link
Contributor

jreback commented Jan 23, 2014

looks good to me, @y-p ?

@jorisvandenbossche
Copy link
Member

I was thinking, would it be an option to only have it displayed if your dataframe is truncated? Or does that make it to complicated? (so you would have three options: always, if truncated, never)

@ghost
Copy link

ghost commented Jan 23, 2014

@jreback sure, ok.

@ghost
Copy link

ghost commented Jan 23, 2014

Should update the FAQ section on customizing display with this.
http://pandas.pydata.org/pandas-docs/dev/faq.html#how-do-i-control-the-way-my-dataframe-is-displayed

@jreback
Copy link
Contributor

jreback commented Jan 23, 2014

@hayd I would move that current section to the main docs (and update it), then provide a link back into the FAQ
(or link back to the main docs ok too......)

we have this 'orphaned' section here: http://pandas.pydata.org/pandas-docs/dev/basics.html#console-output-formatting which should either include the display formatting (more prominently), or added to the FAQ

@jreback
Copy link
Contributor

jreback commented Jan 24, 2014

@hayd can you make those updates to the FAQ (and can fix the full docs at a later time)....though if you could move/link console-formatting would be great

@ghost
Copy link

ghost commented Jan 25, 2014

@hayd , we're ramping up to release 0.13.1, are you on this or would you like me to take care of it?

@hayd
Copy link
Contributor Author

hayd commented Jan 26, 2014

Added to FAQ. If it looks ok, will squish.

@y-p Happy if you can fix the console-formatting docs or we can have as sep issue.. It needs some love.

ghost pushed a commit that referenced this pull request Jan 26, 2014
* hayd-show_dimensions_option:
  DOC: add show_dimensions to faq
  ENH: html repr respects show_dimensions
  ENH: add show_dimensions display config
@ghost
Copy link

ghost commented Jan 26, 2014

Cleaned up and merged as 9ab2385.

@ghost ghost closed this Jan 26, 2014
@ghost
Copy link

ghost commented Jan 26, 2014

#3104 is still open for the other stuff.

@ghost
Copy link

ghost commented Jan 26, 2014

@jorisvandenbossche , on/off seems good enough.

@hayd hayd deleted the show_dimensions_option branch January 26, 2014 19:36
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants