Category : google-style-guide

I’ve been reading through this guide to writing Google-style and Numpy-style docstrings with type hints for numpy ndarrays. In the Numpy-style docstring example, type hints are abbreviated as "np.ndarray". However, in the corresponding Google-style example, the type is written as "numpy.ndarray". Is it possible to use "np.ndarray" as a type in a Google-style docstring, or ..

Read more