https://scipy.github.io/devdocs/reference/generated/scipy.sparse.csgraph.johnson.html#scipy.sparse.csgraph.johnson documentation may be included in the source code