How can I get/save Pandas DataFrame help content?

Peter Otten __peter__ at web.de
Thu Dec 17 04:27:27 EST 2015


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?
> 
> I have search on-line Pandas DataFrame web page. Surprisingly, it has much
> less content than help(DataFrame) command.
> 
> If there is no way to save the content to a file, do you know where I can
> get the full help DataFrame content on a web page?

On the commandline start a webserver with

python -m pydoc -p 8000

and then point your browser to

http://localhost:8000/pandas.core.frame.html#DataFrame




More information about the Python-list mailing list