summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | DOC: typo fixGuo2021-07-031-1/+1
|/ / /
* | | BUG: Do not raise deprecation warning for all nans in unique (#19301)Thomas J. Fan2021-06-292-1/+14
| | | | | | | | | | | | | | | This PR adjusts np.unique for the edge cases where all values are nan. Fixes gh-19300
* | | MAINT: import `tracemalloc_domain` from `np.core.multiarray`Bas van Beek2021-06-271-1/+4
|/ /
* | ENH: Add annotations for `np.lib.type_check`Bas van Beek2021-06-201-15/+231
| |
* | Merge pull request #19261 from BvB93/2dimCharles Harris2021-06-161-21/+244
|\ \ | | | | | | ENH: Add annotations for `np.lib.twodim_base`
| * | ENH: Add annotations for `np.lib.twodim_base`Bas van Beek2021-06-161-21/+244
| | |
* | | DOC: Fix formatting in rot90() docstring (#19256)Tim Hoffmann2021-06-161-2/+5
|/ /
* | DOC: added explanation about tril/triu n-dimensional functionality. (#19131)Melissa Weber Mendonça2021-06-141-3/+34
| | | | | | | | | | * DOC: added explanation about tril/triu n-dimensional functionality. Additional examples are also provided. Closes gh-10310
* | ENH: Add annotations for `np.lib.arraypad`Bas van Beek2021-06-111-2/+91
| |
* | Merge pull request #19060 from BvB93/multiarray-docsCharles Harris2021-06-101-28/+5
|\ \ | | | | | | ENH: Add initial annotations to `np.core.multiarray`
| * | MAINT: Move `ravel_multi_index` and `unravel_index` to `np.core.multiarray`Bas van Beek2021-06-061-28/+5
| | |
* | | Merge pull request #19214 from kmaehashi/fix-np-version-majorCharles Harris2021-06-102-3/+3
|\ \ \ | | | | | | | | ENH: Support major version larger than 9 in `NumpyVersion`
| * | | DOC: fix typoKenichi Maehashi2021-06-101-1/+1
| | | |
| * | | ENH: support major version larger than 9 in numpy.lib.NumpyVersionKenichi Maehashi2021-06-102-2/+2
| | | |
* | | | MAINT: Add annotations for the missing `period` parameter to `np.unwrap`Bas van Beek2021-06-101-1/+1
|/ / /
* | | DOC: Adjust polyfit doc to clarify the meaning of w (#18421)Mike Jarvis2021-06-081-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Adjust polyfit doc to clarify the meaning of w cov='unscaled', in particular, had inconsistently referred to a weight of 1/sigma**2, while the doc for w says it should be equal to 1/sigma. This change clarifies w to comport with more typical meanings of weights in weighted least squares, and makes clear that cov='unscaled' is appropriate when the weight w**2 = 1/sigma**2. See Issue #5261 for more discussion of the errors/confusion in the previous doc string. * Update doc text for w in all polynomial module fit functions Co-authored-by: Stefan van der Walt <sjvdwalt@gmail.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | Update numpy/lib/index_tricks.pyAhmet Can Solak2021-06-071-1/+2
| | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
* | | Update numpy/lib/index_tricks.pyAhmet Can Solak2021-06-071-1/+2
| | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
* | | DOC: docstring fix implemented for ndindex class under index_tricksAhmetCanSolak2021-06-071-2/+2
|/ /
* | API: Delay string and number promotion deprecation/future warningSebastian Berg2021-06-041-2/+1
| | | | | | | | | | | | | | | | | | | | Unfortunately, this seems to cause some pain in pandas at least to circumvent the warning. Delaying may complicate the creation of ufuncs for strings, but otherwise should not be a big problem. We have to make sure that we can reimplement the change quickly though, it is an important change in my opinion.
* | TST: Update the `poly1d.__getitem__` and `__eq__` testsBas van Beek2021-05-281-5/+26
| |
* | BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the ↵Bas van Beek2021-05-281-7/+7
| | | | | | | | wrong dtype
* | Merge pull request #19090 from default-303/LGTM_alertsCharles Harris2021-05-251-1/+0
|\ \ | | | | | | MAINT: removed unused imports listed in LGTM
| * | MAINT: removed unused imports listed in LGTMdefault-3032021-05-251-0/+1
| | |
| * | MAINT: removed unused imports listed in LGTMdefault-3032021-05-242-2/+0
| | |
* | | Merge pull request #19089 from melissawm/add-hist2d-exampleMatti Picus2021-05-251-0/+34
|\ \ \ | | | | | | | | DOC: Add example to histogram2d docstring
| * | | DOC: Add example to histogram2d docstringmelissawm2021-05-241-0/+34
| |/ /
* | | DOC: Add note to savez about naming variables with keyword `file`.melissawm2021-05-241-0/+4
|/ /
* | MAINT: Directly grab `nan` from the input arrayBas van Beek2021-05-221-5/+7
| | | | | | | | Directly grab a nan-esque object from the input array, rather than constructing a new one from scratch
* | TST: Update the `np.nanmedian` tests for all-nan arraysBas van Beek2021-05-221-16/+34
| | | | | | | | Test multiple dtypes in the `test_allnans` + a minor refactor
* | BUG: Fixed an issue wherein `_nanmedian_small` would fail for ↵Bas van Beek2021-05-221-2/+4
| | | | | | | | `timedelta64`-based dtypes
* | BUG: Fixed an issue wherein `nanmedian` could return an array with the wrong ↵Bas van Beek2021-05-221-1/+3
| | | | | | | | dtype
* | Merge pull request #16987 from scimax/masterCharles Harris2021-05-192-14/+71
|\ \ | | | | | | ENH: Phase unwrapping generalized to arbitrary interval size
| * | BUG: Fix missing "np." in docstring examples.Charles Harris2021-05-191-4/+4
| | |
| * | STY: Break long linesCharles Harris2021-05-191-9/+14
| | |
| * | Update numpy/lib/function_base.pyEric Wieser2021-02-161-1/+1
| | |
| * | Update numpy/lib/function_base.pyEric Wieser2021-02-161-0/+3
| | |
| * | Add missing whitespaceEric Wieser2020-09-141-0/+1
| | |
| * | Cleanup whitespaceEric Wieser2020-09-141-1/+1
| | |
| * | Add missing newlineEric Wieser2020-09-141-0/+1
| | |
| * | Cleanup whitespaceEric Wieser2020-09-141-1/+0
| | |
| * | Apply suggestions from code review Eric Wieser2020-09-141-3/+2
| | | | | | | | | Cleanup whitespace
| * | fix CI fails by blank linesMax Kellermeier2020-09-111-0/+3
| | |
| * | Update numpy/lib/function_base.pyEric Wieser2020-09-021-1/+1
| | |
| * | Comment in docs on discontinuity in unwrapMax Kellermeier2020-08-231-2/+3
| | |
| * | Apply suggestions from code reviewscimax2020-08-231-9/+10
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Minor corrections in unwrapping docstringsMax Kellermeier2020-08-231-3/+3
| | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Code cleanupscimax2020-08-211-5/+4
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Updated incorrect argument in tests. boundary correction for int and float.Max Kellermeier2020-08-212-6/+9
| | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | Merge branch 'master' of github.com:scimax/numpyMax Kellermeier2020-08-201-1/+1
| |\ \