How to see documentation of inbuilt functions on Jupyter Notebook?
11,972
The documentation comes from the docstring in the Python code.
You can see it by calling help, and the __doc__
attribute returns the string.
Taking the built-in filter
as example:
# Displays the documentation for filter function
help(filter)
# Obtains the string of the documentation.
docstring = filter.__doc__
Author by
D-hash-pirit
Updated on June 21, 2022Comments
-
D-hash-pirit almost 2 years
I recently researched about finding documentation of any inbuilt
python library's
function within acell
ofJupyter Notebook
. Any suggestion how I can access the documentation?. I know keyboard shortcut which isshift + tab
, and with 4 timesshift + tab
, whole documentation with example pops up. I am just wondering the usual way, apart from shortcut.