Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| | * | | 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. | ||||
| * | | Merge pull request #20047 from sistaseetaram/flag-writeable-upon-copy | Matti Picus | 2021-10-10 | 1 | -0/+11 |
| |\ \ | | | | | | | | | DOC:add an example to show flag writeable cleared upon copy related to #20035 | ||||
| | * | | 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 |
| | |/ | |||||
| * | | Merge pull request #20061 from DimitriPapadopoulos/python3 | Matti Picus | 2021-10-10 | 1 | -2/+1 |
| |\ \ | | | | | | | | | DOC: Remove references to Python 2 | ||||
| | * | | DOC: Remove references to Python 2 | Dimitri Papadopoulos | 2021-10-07 | 1 | -2/+1 |
| | |/ | |||||
| * | | Merge pull request #20063 from BvB93/histograms | Charles Harris | 2021-10-09 | 1 | -4/+48 |
| |\ \ | | | | | | | | | ENH: Add annotations for `np.lib.histograms` | ||||
| | * | | ENH: Add annotations for `np.lib.histograms` | Bas van Beek | 2021-10-07 | 1 | -4/+48 |
| | |/ | |||||
| * | | ENH: Add annotations for `np.lib.polynomial` | Bas van Beek | 2021-10-07 | 1 | -11/+297 |
| |/ | |||||
| * | ENH: Add annotations for `np.lib.function_base` part 3 | Bas van Beek | 2021-10-05 | 1 | -10/+202 |
| | | |||||
| * | Merge pull request #20034 from BvB93/function-base2 | Charles Harris | 2021-10-04 | 1 | -13/+188 |
| |\ | | | | | | | ENH: Add annotations for `np.lib.function_base` part 2/3 | ||||
| | * | ENH: Add more annotations for `np.lib.function_base` | Bas van Beek | 2021-10-04 | 1 | -13/+188 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `interp` * `cov` * `corrcoef` * `blackman` * `bartlett` * `hanning` * `hamming` * `i0` * `kaiser` * `sinc` * `msort` * `median` | ||||
| * | | Merge pull request #20027 from BvB93/nanfunc | Charles Harris | 2021-10-04 | 3 | -85/+326 |
| |\ \ | | |/ | |/| | ENH: Add missing parameters to the `nan<x>` functions | ||||
| | * | TST: Add tests for the new `nan<x>` function parameters | Bas van Beek | 2021-10-04 | 1 | -0/+103 |
| | | | |||||
| | * | TST: Add a test for comparing the signatures of `nan<x>` and `<x>` functions | Bas van Beek | 2021-10-04 | 1 | -0/+48 |
| | | | |||||
| | * | ENH: Update (and simplify) the `nan<x>` function annotations | Bas van Beek | 2021-10-04 | 1 | -50/+36 |
| | | | |||||
| | * | ENH: Bring the `nan<x>` signatures up to parity with their `<x>`-based ↵ | Bas van Beek | 2021-10-04 | 1 | -35/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | counterparts * nanmin: initial & where * nanmax: initial & where * nanargmin: keepdims & out * nanargmax: keepdims & out * nansum: initial & where * nanprod: initial & where * nanmean: where * nanvar: where * nanstd: where | ||||
| * | | Merge pull request #20008 from BvB93/window-func | Charles Harris | 2021-10-04 | 2 | -22/+103 |
| |\ \ | | | | | | | | | BUG: Fix the `lib.function_base` window functions ignoring extended precision float dtypes | ||||
| | * | | STY: Directly use a float rather than the `float64` constructor | Bas van Beek | 2021-10-04 | 1 | -1/+1 |
| | | | | |||||
| | * | | TST: Add more tests for `np.kaiser` | Bas van Beek | 2021-09-30 | 1 | -0/+21 |
| | | | | |||||
| | * | | BUG: Fix the `lib.function_base` window functions ignoring extended ↵ | Bas van Beek | 2021-09-30 | 2 | -22/+82 |
| | |/ | | | | | | | | | | precision float dtypes | ||||
| * | | MAINT: Remove `slice` from the accepted `np.place` mask-types | Bas van Beek | 2021-10-01 | 1 | -1/+1 |
| | | | | | | | | | | | | `np.place` uses the `np.core.multiarray._insert` function under the hood, not to be confused with `np.insert` (which does accept slices) | ||||
| * | | ENH: Add annotations for `np.lib.function_base` | Bas van Beek | 2021-09-30 | 1 | -18/+290 |
| |/ | |||||
* | | 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 |
| | |