Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge pull request #16987 from scimax/master | Charles Harris | 2021-05-19 | 1 | -14/+53 |
|\ | | | | | ENH: Phase unwrapping generalized to arbitrary interval size | ||||
| * | BUG: Fix missing "np." in docstring examples. | Charles Harris | 2021-05-19 | 1 | -4/+4 |
| | | |||||
| * | STY: Break long lines | Charles Harris | 2021-05-19 | 1 | -9/+14 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2021-02-16 | 1 | -1/+1 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2021-02-16 | 1 | -0/+3 |
| | | |||||
| * | Cleanup whitespace | Eric Wieser | 2020-09-14 | 1 | -1/+1 |
| | | |||||
| * | Add missing newline | Eric Wieser | 2020-09-14 | 1 | -0/+1 |
| | | |||||
| * | Cleanup whitespace | Eric Wieser | 2020-09-14 | 1 | -1/+0 |
| | | |||||
| * | Apply suggestions from code review | Eric Wieser | 2020-09-14 | 1 | -3/+2 |
| | | | | | | Cleanup whitespace | ||||
| * | fix CI fails by blank lines | Max Kellermeier | 2020-09-11 | 1 | -0/+3 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2020-09-02 | 1 | -1/+1 |
| | | |||||
| * | Comment in docs on discontinuity in unwrap | Max Kellermeier | 2020-08-23 | 1 | -2/+3 |
| | | |||||
| * | Apply suggestions from code review | scimax | 2020-08-23 | 1 | -9/+10 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Minor corrections in unwrapping docstrings | Max Kellermeier | 2020-08-23 | 1 | -3/+3 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Code cleanup | scimax | 2020-08-21 | 1 | -5/+4 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Updated incorrect argument in tests. boundary correction for int and float. | Max Kellermeier | 2020-08-21 | 1 | -1/+3 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Integer input returning integer output | Max Kellermeier | 2020-08-20 | 1 | -5/+13 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> |