Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #16895 from DevinShanahan/delete-speedup | Matti Picus | 2022-02-27 | 1 | -5/+12 | |
|\ | | | | | MAINT: extend delete single value optimization | |||||
| * | MAINT: single value identification and test | Devin Shanahan | 2022-01-16 | 1 | -3/+2 | |
| | | ||||||
| * | MAINT: Merge branch 'main' into delete-speedup | Devin Shanahan | 2022-01-16 | 1 | -289/+1014 | |
| |\ | ||||||
| * | | Update numpy/lib/function_base.py | Devin Shanahan | 2020-07-19 | 1 | -1/+1 | |
| | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | |||||
| * | | ENH: extend delete single value optimization | DevinShanahan | 2020-07-18 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | Allow arrays of shape (1,) for delete's obj parameter to utilize the optimization for a single value. See #16685. | |||||
* | | | DOC: Fix spelling and grammar in documentation for quantile(). (#21068) | Don Kirkby | 2022-02-15 | 1 | -12/+12 | |
| | | | ||||||
* | | | MAINT: Add missing word to warning message | Sadie Louise Bartholomew | 2022-02-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | DOC: Fix typo in meshgrid example | Emma Simon | 2022-01-18 | 1 | -1/+1 | |
| |/ |/| | | | | | | | coordinate was misspelled in a comment in the example code [ci skip] | |||||
* | | MAINT, DOC: discard repeated words | Dimitri Papadopoulos | 2022-01-13 | 1 | -2/+2 | |
| | | ||||||
* | | 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 | 1 | -30/+30 | |
| | | | | | | | | | | | | | | 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 | 1 | -2/+2 | |
| | | | | | | | | | | Apparently, sphinx does not resolve references to footnotes from parameter descriptions. | |||||
* | | 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 | 1 | -6/+9 | |
| | | | | | | | | | | 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 | 1 | -73/+110 | |
| | | ||||||
* | | 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 | 1 | -8/+6 | |
| | | ||||||
* | | 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. | |||||
* | | DOC: Refer to the quantile/percentile notes for nan versions | Sebastian Berg | 2021-11-04 | 1 | -1/+1 | |
| | | ||||||
* | | MAINT: Clean following PR comments | abel | 2021-11-04 | 1 | -6/+3 | |
| | | ||||||
* | | Fix issue with nan scalar | abel | 2021-11-04 | 1 | -2/+2 | |
| | | | | | | | | 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 | 1 | -23/+19 | |
| | | | | | | | | | | - 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 | 1 | -169/+255 | |
| | | | | | | | | | | 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 | 1 | -124/+469 | |
| | | | | | | | | | | | | | | | | | | | | - 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 | |||||
* | | Merge remote-tracking branch 'upstream/main' into better-select-example | Jonas Liechti | 2021-10-25 | 1 | -13/+36 | |
|\ \ | ||||||
| * | | BUG: lib: Fix error raised by insert. | warren | 2021-10-20 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| | * | | MAINT: LGTM.com recommendation: Unused import | Dimitri Papadopoulos | 2021-10-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Import of 'histogram' is not used. Import of 'histogramdd' is not used. Import of 'textwrap' is not used. | |||||
| * | | | added-suggestion-to#20047 | Sista Seetaram | 2021-10-06 | 1 | -1/+4 | |
| | | | | ||||||
| * | | | DOC:add an example to show flag writeable cleared upon copy | Sista Seetaram | 2021-10-06 | 1 | -0/+8 | |
| |/ / | ||||||
| * | | STY: Directly use a float rather than the `float64` constructor | Bas van Beek | 2021-10-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | BUG: Fix the `lib.function_base` window functions ignoring extended ↵ | Bas van Beek | 2021-09-30 | 1 | -9/+9 | |
| | | | | | | | | | | | | precision float dtypes | |||||
* | | | incorporated suggested edit | Jonas I. Liechti | 2021-10-24 | 1 | -1/+0 | |
| | | | | | | | | | Co-authored-by: Mukulika <60316606+Mukulikaa@users.noreply.github.com> | |||||
* | | | removed redundant comment | Jonas Liechti | 2021-10-22 | 1 | -3/+0 | |
| | | | ||||||
* | | | type-o: used element instead of array | Jonas Liechti | 2021-10-05 | 1 | -3/+3 | |
| | | | ||||||
* | | | adding example: also highlight priority in multiple matches | Jonas Liechti | 2021-10-05 | 1 | -2/+11 | |
| | | | ||||||
* | | | use an example that also shows default value | Jonas Liechti | 2021-10-01 | 1 | -3/+3 | |
|/ / | ||||||
* | | DOC: Update links to online copy of Abramowitz and Stegun. | warren | 2021-09-28 | 1 | -1/+1 | |
| | | ||||||
* | | DOC: Add explanation of a sparse mesh grid (#19776) | Tim Hoffmann | 2021-09-21 | 1 | -8/+27 | |
| | | | | | | | | | | * Add explanation of a spare mesh grid. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | |||||
* | | MAINT: remove unused argument in private function | Marten van Kerkwijk | 2021-09-14 | 1 | -8/+7 | |
| | | ||||||
* | | DOC: Fix typo in `unwrap` docstring. | Ghiles Meddour | 2021-08-17 | 1 | -1/+1 | |
| | | ||||||
* | | replace whitespaces in the signature argument | Ankit Dwivedi | 2021-08-12 | 1 | -4/+5 | |
| | | ||||||
* | | fix lint errors | Ankit Dwivedi | 2021-08-07 | 1 | -1/+2 | |
| | | ||||||
* | | ignore whitespaces while parsing gufunc signatures | Ankit Dwivedi | 2021-08-07 | 1 | -3/+3 | |
| | | ||||||
* | | DOC: Remove explicit parameter sparse=False in meshgrid() indexing example ↵ | Tim Hoffmann | 2021-08-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | (#19561) `sparse=False` is the default anyway. Stating it explicitly has no effect on the example, but clutters the code. | |||||
* | | API: Ensure np.vectorize outputs can be subclasses. | Marten van Kerkwijk | 2021-06-26 | 1 | -20/+25 | |
| | | | | | | | | | | | | | | As is, this is true for the ufunc case, but not for the gufunc case, even if the underlying function does produce a subclass. Given the care taken to ensure inputs are kept as subclasses, this is almost certainly an oversight, which is here corrected. | |||||
* | | DOC: Fix formatting in rot90() docstring (#19256) | Tim Hoffmann | 2021-06-16 | 1 | -2/+5 | |
| | |