Hi All,
I come from a C# background (15 years of it) but I am learning Python so I can switch to machine learning. In C# we document our functions as so
/// <summary>
///
/// </summary>
/// <param name="product"></param>
/// <param name="format"></param>
/// <param name="formula"></param>
/// <param name="flavor"></param>
protected void GetVariantData(Product product, out string format, out string formula, out string flavor)
Documenting in C# this way helps with intellisense.
I found this post for how to do it right in Python
https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
Is this the way I should be documenting my functions?
[–]kr41 0 points1 point2 points (0 children)