How to view a Python class docstrings using jupyter notebook?

CiaranWelsh picture CiaranWelsh · Feb 15, 2017 · Viewed 23.2k times · Source

In the spyder IDE it is possible to press ctrl+i when instantiating a class to bring up the docstrings associated with that class. Is there a similar feature in jupyter notebook?

Answer

Briford Wylie picture Briford Wylie · Aug 16, 2017

For the current version of Jupyter notebook, you can hit Shift-Tab to bring up the signature and docstring of the class. This question is highly related to these other questions (so I'll flag this as a duplicate).