Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #20446 from abatomunkuev/issue#20423 | Matti Picus | 2021-11-25 | 1 | -3/+10 |
|\ | | | | | BUG: Fixed output variable overriding in numpy.info() | ||||
| * | BUG: Fixed docstring of numpy.info() | Andrei Batomunkuev | 2021-11-24 | 1 | -1/+2 |
| | | |||||
| * | Fixed python docstring in info() | Andrei Batomunkuev | 2021-11-24 | 1 | -1/+1 |
| | | |||||
| * | BUG: Fixed output overriding in numpy.info(), so that it correctly displays ↵ | Andrei Batomunkuev | 2021-11-24 | 1 | -2/+8 |
| | | | | | | | | in Google Colab. Closes#20423 | ||||
* | | Merge pull request #20433 from BvB93/122_typing | Charles Harris | 2021-11-22 | 1 | -2/+2 |
|\ \ | | | | | | | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | ||||
| * | | BUG: Fix an incorrect protocol used in `np.lib.shape_base` | Bas van Beek | 2021-11-22 | 1 | -2/+2 |
| | | | |||||
* | | | ENH: Add annotations for `np.emath` | Bas van Beek | 2021-11-22 | 1 | -10/+91 |
|/ / | | | | | | | Aka `np.lib.scimath` | ||||
* | | DEP: remove deprecated `np.asscalar` function | Ralf Gommers | 2021-11-21 | 2 | -57/+20 |
| | | | | | | | | Was deprecated in 1.16.0 | ||||
* | | Merge pull request #20093 from Mukulikaa/indexing-howto | Matti Picus | 2021-11-17 | 1 | -2/+2 |
|\ \ | | | | | | | DOC: Created an indexing how-to | ||||
| * | | DOC: Added and modified examples | Mukulika | 2021-11-11 | 1 | -2/+2 |
| | | | | | | | | | | | | Also fixed minor typos and styling errors | ||||
* | | | Merge pull request #20147 from ↵ | Matti Picus | 2021-11-17 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | arushi-08/updated-docstring-for-binary-file-object DOC: updated docstring for binary file object | ||||
| * | | | DOC: updated file object docstring | Arushi Sharma | 2021-10-26 | 1 | -1/+1 |
| | | | | |||||
| * | | | DOC: updated docstring for binary file object | Arushi Sharma | 2021-10-21 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #20244 from MuhammadMotawe/clarify-sqrt-behavior | Matti Picus | 2021-11-17 | 1 | -0/+9 |
|\ \ \ \ | | | | | | | | | | | DOC: Clarify behavior of ``np.lib.scimath.sqrt`` apropos -0.0 | ||||
| * | | | | MAINT: Address review comments | Muhammad Motawe | 2021-10-30 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com> | ||||
| * | | | | DOC: Clarify behavior of np.lib.scimath.sqrt in the presence of negative 0 | Muhammad Motawe | 2021-10-30 | 1 | -0/+14 |
| | |_|/ | |/| | | |||||
* | | | | DOC: Fixups for interpolation rename comments from review | Sebastian Berg | 2021-11-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com> | ||||
* | | | | DOC: Update percentile/quantile docs | Sebastian Berg | 2021-11-12 | 2 | -60/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly fixes the method list slightly, tones down the warning a bit and fixes the link to the paper (I did not realize that the link failed to work due only because the reference was missing from nanquantile/nanpercentile). | ||||
* | | | | DOC: Add ticks to quantile interpolation/method error | Sebastian Berg | 2021-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Co-authored-by: abel <aoun@cerfacs.fr> | ||||
* | | | | DOC: Remove reference to paper from quantile `method` kwarg | Sebastian Berg | 2021-11-12 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | Apparently, sphinx does not resolve references to footnotes from parameter descriptions. | ||||
* | | | | MAINT: Rename interpolation to method in percentile stubs | Sebastian Berg | 2021-11-12 | 1 | -13/+13 |
| | | | | |||||
* | | | | DOC: Fixup the percentile methods plot | Sebastian Berg | 2021-11-12 | 1 | -12/+19 |
| | | | | |||||
* | | | | BUG: quantile discrete methods ended up using -1 as index sometimes | Sebastian Berg | 2021-11-12 | 2 | -9/+22 |
| | | | | | | | | | | | | | | | | | | | | Also, the closest-observation did not correctly support multiple quantiles calculated at the same time (broadcasting error). | ||||
* | | | | API,DEP: Rename percentile/quantile `interpolation=` to `method=` | Sebastian Berg | 2021-11-12 | 4 | -162/+226 |
| |_|/ |/| | | |||||
* | | | TST: Add test for max ulp in default quantile calculation | abel | 2021-11-09 | 1 | -0/+8 |
| | | | |||||
* | | | MTH: Update quantile default lerp method | abel | 2021-11-09 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | For method 7 of H&F, using `(n - 1) * quantiles` instead of the usual method gives a more accurate result. | ||||
* | | | DOC: Remove non-existent alias | abel | 2021-11-08 | 3 | -13/+10 |
| | | | |||||
* | | | Merge pull request #18203 from anntzer/fq | Sebastian Berg | 2021-11-05 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | MAINT: Speedup np.quantile. | ||||
| * | | | PERF: Speedup np.quantile. | Antony Lee | 2021-11-05 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Avoiding the unnecessary calls to moveaxis() speed up `np.quantile(x, .5)` (`x = np.random.rand(1000)`) by ~10% (although there's a lot of variability) for me. | ||||
* | | | | MAINT: Add annotations for a missing `percentile` interpolation kind: ↵ | Bas van Beek | 2021-11-05 | 1 | -0/+1 |
|/ / / | | | | | | | | | | `"inclusive"` | ||||
* | | | DOC: Refer to the quantile/percentile notes for nan versions | Sebastian Berg | 2021-11-04 | 2 | -201/+4 |
| | | | |||||
* | | | MAINT: Remove unnecessary import of _QuantileInterpolation | Sebastian Berg | 2021-11-04 | 1 | -1/+0 |
| | | | |||||
* | | | TST: Make use of clongdouble and longdouble | abel | 2021-11-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | On some platforms float128 and complex256 do not exist. Using (c)longdouble aliases should work on all platforms. | ||||
* | | | DOC: Update _InterpolationKind | abel | 2021-11-04 | 1 | -1/+9 |
| | | | |||||
* | | | TST: Add parametrize for interpolation methods | abel | 2021-11-04 | 1 | -91/+43 |
| | | | |||||
* | | | TST: Add extrapolation tests | abel | 2021-11-04 | 1 | -0/+9 |
| | | | |||||
* | | | MAINT: Clean following PR comments | abel | 2021-11-04 | 2 | -17/+7 |
| | | | |||||
* | | | Fix issue with nan scalar | abel | 2021-11-04 | 2 | -2/+8 |
| | | | | | | | | | | | | Also added unit test for it. | ||||
* | | | DOC: Improve quantile documentation | abel | 2021-11-04 | 1 | -20/+67 |
| | | | | | | | | | | | | Also removed unused imports | ||||
* | | | Fix _lerp | abel | 2021-11-04 | 2 | -30/+26 |
| | | | | | | | | | | | | | | | - some changes were unrelated to the PR and have been reverted, including, renaming and moving the logic around. - Also renamed _quantile_ureduce_func to its original name | ||||
* | | | DOC: fix docstrings. | Charles Harris | 2021-11-04 | 2 | -325/+523 |
| | | | | | | | | | | | | | | | Hopefully fix the docstrings of percentile, nanpercentile, quantile, and nanquantile so that CircleCI passes. | ||||
* | | | MAINT, ENH [#10736] Add interpolation methods to quantile | abel | 2021-11-04 | 3 | -194/+788 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added the missing linear interpolation methods. - Updated the existing unit tests. - Added pytest.mark.xfail for boolean arrays See - https://github.com/numpy/numpy/pull/19857#issuecomment-919258693 - https://github.com/numpy/numpy/issues/19154 | ||||
* | | | DOC: Do not leave space between directive name and double colon. | Matthias Bussonnier | 2021-11-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From my regular expression foo, those are the only 9 case whereas there are about ~2000 usage that do not have spaces. While this is ok with docutils/sphinx, it does not seem to be documented, and that means that other parsers will see that as comments, leading to for example improper syntax highlighting. This make it also a tiny bit harder to develop alternative rst parsers. | ||||
* | | | ENH: Check that the lengths of the inputs to histogram2d are the same. (#20228) | Jérome Eertmans | 2021-11-02 | 2 | -0/+13 |
|/ / | | | | | | | | | | | | | Improves exception message when inputs have different shapes. Closes gh-20050 Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | | Merge remote-tracking branch 'upstream/main' into better-select-example | Jonas Liechti | 2021-10-25 | 13 | -176/+1488 |
|\ \ | |||||
| * \ | Merge pull request #20071 from alessiamarcolini/refactor | Charles Harris | 2021-10-22 | 5 | -8/+2 |
| |\ \ | | | | | | | | | MAINT: Remove unused imports and remove duplicated tests | ||||
| | * | | MAINT: remove unused imports | Alessia Marcolini | 2021-10-08 | 5 | -8/+2 |
| | | | | |||||
| * | | | BUG: lib: Fix error raised by insert. | warren | 2021-10-20 | 2 | -3/+7 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `insert` is given a single out-of-bounds index in a list, e.g. np.insert([0, 1, 2], [99], [3, 4]) # 99 is out of bounds a TypeError was being raised because of a bug in the formatting of the message. Before this change, the error is TypeError: %i format: a number is required, not list After, we get the expected IndexError: index [99] is out of bounds for axis 0 with size 3 | ||||
| * | | Add note to iterable docstring about 0d arrays. | Ross Barnowski | 2021-10-15 | 1 | -0/+13 |
| | | | | | | | | | | | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> | ||||
| * | | Merge pull request #20059 from DimitriPapadopoulos/lgtm_recommendations | Charles Harris | 2021-10-10 | 1 | -1/+1 |
| |\ \ | | | | | | | | | MAINT: LGTM.com recommendations |