Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100567
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Robert Kern <robert.kern@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: How can I get/save Pandas DataFrame help content? |
| Date | Thu, 17 Dec 2015 15:15:56 +0000 |
| Lines | 33 |
| Message-ID | <mailman.36.1450365381.30845.python-list@python.org> (permalink) |
| References | <9109f5a6-f6c7-4651-995e-2e8813c1f647@googlegroups.com> <56723561$0$1596$c3e8da3$5496439d@news.astraweb.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de OMVsPOqMf7cRJgcAWIeG8gS7l+02D+yj+OyloXg/yZxg== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:help': 0.07; 'subject:How': 0.09; '[1]:': 0.09; 'buffer,': 0.09; 'exceeds': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'underlying': 0.09; 'bug': 0.10; 'python': 0.10; 'syntax': 0.13; 'appropriate': 0.14; 'kern': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'robert,': 0.16; 'wrote:': 0.16; 'widget': 0.18; '2015': 0.20; 'interpret': 0.22; 'this:': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'header:X -Complaints-To:1': 0.26; 'linux': 0.26; 'equivalent': 0.27; 'page.': 0.28; 'subject:/': 0.30; 'december': 0.32; 'knows': 0.32; 'embedded': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'windows.': 0.33; 'attempt': 0.35; 'i.e.': 0.35; 'robert': 0.35; 'step': 0.36; 'should': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'received:org': 0.37; 'hi,': 0.38; 'url:en': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'more': 0.63; 'our': 0.64; 'world': 0.64; 'believe': 0.66; 'thursday': 0.66; 'cut': 0.67; 'choose': 0.68; 'special': 0.73; 'subject:get': 0.81; 'console,': 0.84; 'eco': 0.84; 'subject:content': 0.84; 'terrible': 0.84; 'url:readthedocs': 0.84; 'url:reference': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | uk.enthought.com |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
| In-Reply-To | <56723561$0$1596$c3e8da3$5496439d@news.astraweb.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:100567 |
Show key headers only | View raw
On 2015-12-17 04:09, Steven D'Aprano wrote: > On Thursday 17 December 2015 13:48, Robert wrote: > >> Hi, >> >> When I use Enthought/Canopy, help(DataFrame) has so much content that it >> exceeds the display buffer, i.e. its head is cut off as I go up to see it. > > > Step 1: report this as a bug to Enthought and/or the Python bug tracker. > help(DataFrame) should automatically choose a pager such as `less` on Linux > or equivalent (`more` I think?) on Windows. I suspect that he is using the embedded IPython console in the Canopy IDE, so it's more of an issue that help() knows that it's not in a true terminal so it doesn't page. If he had been using python at the terminal, help() would have indeed used the appropriate terminal pager. Robert, in the IPython console, you can also use a special syntax to get the content. The IPython console widget does know how to page this: In [1]: pandas.DataFrame? http://ipython.readthedocs.org/en/stable/interactive/reference.html#dynamic-object-information -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I get/save Pandas DataFrame help content? Robert <rxjwg98@gmail.com> - 2015-12-16 18:48 -0800
Re: How can I get/save Pandas DataFrame help content? Chris Angelico <rosuav@gmail.com> - 2015-12-17 13:56 +1100
Re: How can I get/save Pandas DataFrame help content? Robert <rxjwg98@gmail.com> - 2015-12-16 19:20 -0800
Re: How can I get/save Pandas DataFrame help content? Chris Angelico <rosuav@gmail.com> - 2015-12-17 14:30 +1100
Re: How can I get/save Pandas DataFrame help content? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-12-17 15:09 +1100
Re: How can I get/save Pandas DataFrame help content? Robert Kern <robert.kern@gmail.com> - 2015-12-17 15:15 +0000
Re: How can I get/save Pandas DataFrame help content? Peter Otten <__peter__@web.de> - 2015-12-17 10:27 +0100
csiph-web