diff options
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/info.py | 6 | ||||
-rw-r--r-- | numpy/lib/polynomial.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/info.py b/numpy/lib/info.py index ca1e72397..141df2ace 100644 --- a/numpy/lib/info.py +++ b/numpy/lib/info.py @@ -67,9 +67,9 @@ Shape Manipulation ------------------ ================ =================== squeeze Return a with length-one dimensions removed. -atleast_1d Force arrays to be > 1D -atleast_2d Force arrays to be > 2D -atleast_3d Force arrays to be > 3D +atleast_1d Force arrays to be >= 1D +atleast_2d Force arrays to be >= 2D +atleast_3d Force arrays to be >= 3D vstack Stack arrays vertically (row on row) hstack Stack arrays horizontally (column on column) column_stack Stack 1D arrays as columns into 2D array diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index d96b8969f..d178ba4b3 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -431,7 +431,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False): Returns ------- - p : ndarray, shape (M,) or (M, K) + p : ndarray, shape (deg + 1,) or (deg + 1, K) Polynomial coefficients, highest power first. If `y` was 2-D, the coefficients for `k`-th data set are in ``p[:,k]``. |