You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider using module-level, class-level and function-level docstrings for describing the purpose of the module, description of the class or a function (especially when the function name and arguments can't convey what the function does).
Description of the input parameters and their type
Description of the return parameters and their type
Examples:
def multiplication_table(zero_out_multiples=None):
"""Creates a multiplication table.
Returns a two-dimensional NumPy array that contains the multiplication
table from 1 to 12.
Parameters
-----------
zero_out_multiples : int, optional
When this parameter is set to an integer number, then the
multiplication table that is returned by the function will have all
multiples of the given number set to zero. The default value of this
parameter is None.
Returns
-------
array : ndarray
A two-dimensional NumPy array that contains the multiplication table
from 1 to 12 with the multiples of zero_out_multiples paramaters
passed as argument set to zero.
"""
The text was updated successfully, but these errors were encountered:
Consider using module-level, class-level and function-level docstrings for describing the purpose of the module, description of the class or a function (especially when the function name and arguments can't convey what the function does).
Using the numpydoc documentation style for writing a docstring is recommended.
Required for function docstring:
Examples:
The text was updated successfully, but these errors were encountered: