How to auto generate function docstring in jupyter

Viewed 1371

I am using Jupyter and I was wondering if there is a way to auto generate doc string for a function? Seems like PyCharm and Spyder has that functionality but I can't find one for Jupyter notebook.

I want to have something like this

def func(foo,bar):
    """
    Parameters
    --------------
    foo : TYPE
        DESCRIPTION
    bar : TYPE
        DESCRIPTION

    Returns
    --------------
    TYPE
        DESCRIPTION
    """
    #dosomething
1 Answers
Related