summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
authorWojciech Rzadkowski <wojciech.rzadkowski@gmail.com>2020-06-05 18:35:18 +0200
committerWojciech Rzadkowski <wojciech.rzadkowski@gmail.com>2020-06-05 18:35:18 +0200
commite42b2b73641be680b7ffddffe87c0f562dd79249 (patch)
tree55fc5a85e2d461f873b51f9d188c0b5380a1d774 /numpy/polynomial/_polybase.py
parenta5d021a1b6f439a19812926bc4d796ef5f346c44 (diff)
downloadnumpy-e42b2b73641be680b7ffddffe87c0f562dd79249.tar.gz
DOC: mention only single-polynomial fitting in np.polynomial.Polynomial.fit()
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 30887b670..bc0f79636 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -919,10 +919,8 @@ class ABCPolyBase(abc.ABC):
----------
x : array_like, shape (M,)
x-coordinates of the M sample points ``(x[i], y[i])``.
- y : array_like, shape (M,) or (M, K)
- y-coordinates of the sample points. Several data sets of sample
- points sharing the same x-coordinates can be fitted at once by
- passing in a 2D-array that contains one dataset per column.
+ y : array_like, shape (M,)
+ y-coordinates of the sample points.
deg : int or 1-D array_like
Degree(s) of the fitting polynomials. If `deg` is a single integer
all terms up to and including the `deg`'th term are included in the