diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-09-21 19:42:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 19:42:37 -0600 |
commit | ac8f979a7b07cefa79e0c898b4ed2152e4080485 (patch) | |
tree | e8b152ee272a7648494bdf73a88f7ff6a73ac8e8 /numpy/polynomial/_polybase.py | |
parent | b05798a4a5d1b8749ad42f0ab2f1bab99ba2f805 (diff) | |
parent | 89df711a83b1cb34457bd49c73085811dcf46783 (diff) | |
download | numpy-ac8f979a7b07cefa79e0c898b4ed2152e4080485.tar.gz |
Merge pull request #19905 from Samyak2/polynomial-fit-doc-formatting
DOC: fix docstring formatting of polynomial fit method return values.
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r-- | numpy/polynomial/_polybase.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py index 4b9f7c661..155d72805 100644 --- a/numpy/polynomial/_polybase.py +++ b/numpy/polynomial/_polybase.py @@ -958,12 +958,12 @@ class ABCPolyBase(abc.ABC): of interest, do ``new_series.convert().coef``. [resid, rank, sv, rcond] : list - These values are only returned if `full` = True + These values are only returned if ``full == True`` - resid -- sum of squared residuals of the least squares fit - rank -- the numerical rank of the scaled Vandermonde matrix - sv -- singular values of the scaled Vandermonde matrix - rcond -- value of `rcond`. + - resid -- sum of squared residuals of the least squares fit + - rank -- the numerical rank of the scaled Vandermonde matrix + - sv -- singular values of the scaled Vandermonde matrix + - rcond -- value of `rcond`. For more details, see `linalg.lstsq`. |