Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: How can I get/save Pandas DataFrame help content? Date: Thu, 17 Dec 2015 13:56:00 +1100 Lines: 12 Message-ID: References: <9109f5a6-f6c7-4651-995e-2e8813c1f647@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de KJHbNyf8M/jy+rYml+A+bA7Xjm3dLmRd/WD7Fm6TtcSA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:help': 0.07; 'subject:How': 0.09; 'buffer,': 0.09; 'exceeds': 0.09; 'python': 0.10; 'thu,': 0.15; '1:48': 0.16; 'file?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '2015': 0.20; 'to:name:python-list@python.org': 0.20; '(by': 0.22; 'dec': 0.23; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; 'message-id:@mail.gmail.com': 0.27; 'command-line': 0.29; 'subject:/': 0.30; 'similar': 0.33; 'running': 0.34; 'received:google.com': 0.35; 'i.e.': 0.35; 'robert': 0.35; 'should': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'received:209': 0.38; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'save': 0.60; 'your': 0.60; 'more': 0.63; 'cut': 0.67; 'subject:get': 0.81; 'chrisa': 0.84; 'subject:content': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=b6Hd0LJlHZ//x0c6P7Qa51bTRrVZwI2qVzh+uwjssOU=; b=PcI5999DKb8PVK2ew3uoRdbGfOzoY32npXccDjnCgbv9wrbEIdu+3Yao0HcjVJj2sA dx0pDo9WKU+RQDzZuoC7Z8amD0xSI10wXPje6I18Q0ZZOElb18jBp7ui1c8tBupp3OiJ nWwBHwF5wrCOv4TKM3nyFNpszBfKsGyf7XDgZoRLbhaHypgDaAT//USw2qxtljfjEhIT BtobZuYkqkhNCTg7VRyCp3rWoLCygSNrZSqEWquciOZhBIr8wRtjPGNu57UZJfyEOrJI GFw6vx04JPLMPUXSJ+yUNY3uSoILsYBJuipzEhqy29Fa7kFuTxgp1fCsH0Feg3sNoI8+ pR5w== X-Received: by 10.107.31.2 with SMTP id f2mr15138051iof.157.1450320960109; Wed, 16 Dec 2015 18:56:00 -0800 (PST) In-Reply-To: <9109f5a6-f6c7-4651-995e-2e8813c1f647@googlegroups.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100553 On Thu, Dec 17, 2015 at 1:48 PM, 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. > I would like to know whether there is a way similar to Linux redirection to > save the help DataFrame content to a file? If you use command-line Python (by just running 'python' or 'python3' in your shell), you should be able to use help() with a More pager. ChrisA