Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: incorrect error fallthrough in nditer | Allan Haldane | 2021-03-02 | 2 | -1/+14 |
| | | | | Fixup to gh-18450 | ||||
* | Merge pull request #18509 from timhoffm/doc-link-fix | Matti Picus | 2021-03-02 | 2 | -8/+9 |
|\ | | | | | DOC: trunc, floor, ceil, rint, fix should all link to each other | ||||
| * | revert changes to note, add a sentence about fix | Matti Picus | 2021-03-02 | 1 | -3/+3 |
| | | |||||
| * | DOC: trunc, floor, ceil, rint, fix should all link to each other in see also | Tim Hoffmann | 2021-03-01 | 2 | -8/+9 |
| | | |||||
* | | TST: Branch coverage improvement for `np.polynomial` (#18499) | jbCodeHub | 2021-02-28 | 3 | -0/+34 |
|/ | | | | | | | * added tests for vander_nd in test_polyutils to cover some of the missed branches * added tests to polyline and vander to improve branch coverage * added tests to test_legendre.py to improve branch coverage | ||||
* | Merge pull request #18397 from BvB93/index-tricks | Charles Harris | 2021-02-27 | 8 | -29/+389 |
|\ | | | | | ENH: Add annotations for `np.lib.index_tricks` | ||||
| * | MAINT: Relax the type-constraints of `IndexExpression.__getitem__` | Bas van Beek | 2021-02-25 | 4 | -9/+9 |
| | | |||||
| * | TST: Add typing tests for `np.lib.index_tricks` | Bas van Beek | 2021-02-25 | 3 | -0/+141 |
| | | |||||
| * | ENH: Expose `index_tricks` content to `np` and `np.lib` namespace | Bas van Beek | 2021-02-25 | 2 | -26/+35 |
| | | |||||
| * | ENH: Add annotations for `np.lib.index_tricks` | Bas van Beek | 2021-02-25 | 2 | -2/+207 |
| | | |||||
| * | MAINT: Added the `_ArrayLikeInt` type alias | Bas van Beek | 2021-02-25 | 2 | -1/+6 |
| | | | | | | | | | | An invariant-ish array-like consisting of int-like objects. Note that it is not truly invariant due to `builtins.bool` inheriting from `builtins.int` | ||||
* | | Merge pull request #18497 from BvB93/einsumfunc | Charles Harris | 2021-02-27 | 1 | -3/+2 |
|\ \ | | | | | | | TST: Remove the `einsum` typing tests reliance on issuing a `ComplexWarning` | ||||
| * | | TST: Remove the `einsum` typing tests reliance on issuing a `ComplexWarning` | Bas van Beek | 2021-02-26 | 1 | -3/+2 |
| | | | |||||
* | | | Port error to RandomState | Kevin Sheppard | 2021-02-26 | 3 | -2/+23 |
| | | | |||||
* | | | Address comments | Kevin Sheppard | 2021-02-26 | 1 | -9/+9 |
| | | | |||||
* | | | Accept suggestion | Kevin Sheppard | 2021-02-26 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | Use if else. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | | | ENH: Improve error message in multinomial | Kevin Sheppard | 2021-02-26 | 2 | -1/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | Improve error message when the sum of pvals is larger than 1 when the input data is an ndarray closes #8317 xref #16732 | ||||
* | | | CLN: Move to legacy function | Kevin Sheppard | 2021-02-26 | 4 | -20/+82 |
| | | | | | | | | | | | | | | | | | | Avoid conditional compilation and move old version to legacy_vonmises Small clean up Additional comments | ||||
* | | | BUG: Prevent RandomState from changing | Kevin Sheppard | 2021-02-26 | 6 | -19/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | Apply vonmises fix only to Generator Add tests for correctness closes #17378 closes #17275 | ||||
* | | | Added test for [-np.pi, np.pi] range for the von mises distribution using ↵ | Raúl Montón Pinillos | 2021-02-26 | 3 | -0/+9 |
| | | | | | | | | | | | | large values of kappa (>1e6) | ||||
* | | | Fixed style and added check for bounds in [-pi,pi] interval. | Raúl Montón Pinillos | 2021-02-26 | 1 | -6/+17 |
| | | | |||||
* | | | Fixed Von Mises distribution for big values of kappa by falling back to a ↵ | Raúl Montón Pinillos | 2021-02-26 | 1 | -3/+8 |
|/ / | | | | | | | normal distribution (which the von mises distribution converges to). | ||||
* | | BUG: Fix non-versioneer uses | Eric Larson | 2021-02-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #18475 from Matt-Ord/add-type-annotation-to-np-eye-2 | Charles Harris | 2021-02-24 | 1 | -1/+9 |
|\ | | | | | ENH: Added type annotations to eye() function | ||||
| * | Apply suggestions from code review | Matt-Ord | 2021-02-23 | 1 | -4/+4 |
| | | | | | | | | | | Fixed annotations of eye() Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> | ||||
| * | added type annotations to eye | Matt | 2021-02-23 | 1 | -1/+9 |
| | | |||||
* | | Merge pull request #18479 from cgohlke/patch-4 | Matti Picus | 2021-02-24 | 1 | -1/+6 |
|\ \ | | | | | | | BUG: check if PyArray_malloc succeeded | ||||
| * | | Goto done when an error condition is reached | Christoph Gohlke | 2021-02-24 | 1 | -0/+1 |
| | | | |||||
| * | | BUG: check if PyArray_malloc succeeded | Christoph Gohlke | 2021-02-23 | 1 | -1/+5 |
| | | | |||||
* | | | Merge pull request #18433 from bashtage/randomstate-typing | Matti Picus | 2021-02-24 | 9 | -131/+3925 |
|\ \ \ | | | | | | | | | ENH: Add typing for RandomState | ||||
| * | | | BUG: Remove incorrect variable name | Kevin Sheppard | 2021-02-24 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | Remove incorrect variable name in randint | ||||
| * | | | CLN: Clean up random typing | Kevin Sheppard | 2021-02-24 | 2 | -22/+7 |
| | | | | | | | | | | | | | | | | | | | | Clean unnecessary definitions Fix small typing errors | ||||
| * | | | TST: Add final tests | Kevin Sheppard | 2021-02-24 | 1 | -311/+347 |
| | | | | |||||
| * | | | Use {int_} for int return types | Kevin Sheppard | 2021-02-24 | 2 | -66/+66 |
| | | | | |||||
| * | | | Small fixes | Kevin Sheppard | 2021-02-24 | 3 | -7/+4 |
| | | | | |||||
| * | | | BUG: Fix typing bugs | Kevin Sheppard | 2021-02-24 | 3 | -78/+76 |
| | | | | |||||
| * | | | ENH: Add tests for RandomState | Kevin Sheppard | 2021-02-24 | 3 | -4/+1171 |
| | | | | |||||
| * | | | BUG: Corect typing statements in mtrand | Kevin Sheppard | 2021-02-24 | 2 | -27/+64 |
| | | | | | | | | | | | | | | | | | | | | Bring over changes from Generator to RandomState where appropriate Remove attributes not in RandomState | ||||
| * | | | TST: Add tests for dtype and out | Kevin Sheppard | 2021-02-24 | 2 | -1/+83 |
| | | | | | | | | | | | | | | | | Add further tests for functions that accept out and dtype arguments | ||||
| * | | | ENH/BUG: Improve definitions and fix bugs | Kevin Sheppard | 2021-02-24 | 3 | -42/+896 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add tests Fix related bugs Improve specificity of definitions | ||||
| * | | | ENH/BUG: Add tests and correct typing issues | Kevin Sheppard | 2021-02-24 | 8 | -40/+1077 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for lower level components Correct errors found in testing Improve specificity of tests Other small fixes to docs and typing | ||||
| * | | | TST: Add tests for random typing | Kevin Sheppard | 2021-02-24 | 3 | -0/+56 |
| | | | | |||||
| * | | | MAINT: Restructure imports in pyi file | Kevin Sheppard | 2021-02-24 | 1 | -51/+53 |
| | | | | |||||
| * | | | ENH: Add typing for RandomState | Kevin Sheppard | 2021-02-24 | 3 | -61/+605 |
| | | | | | | | | | | | | | | | | | | | | Add typing for RandomState Small fixes to Generator's typing | ||||
* | | | | Merge pull request #18476 from cgohlke/patch-1 | Sebastian Berg | 2021-02-24 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | BUG: Remove suspicious type casting | ||||
| * | | | | MAINT: cast Py_ssize_t to int | Christoph Gohlke | 2021-02-23 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | MAINT: Remove suspicious type casting | Christoph Gohlke | 2021-02-23 | 1 | -1/+1 |
| | |/ / | |/| | | |||||
* | | | | DOC: Explaing differences in code paths in choice | Kevin Sheppard | 2021-02-24 | 2 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explanation for different results when using user-specified probabilities even if uniform closes #18172 | ||||
* | | | | DOC: Correct poisson docstring | Kevin Sheppard | 2021-02-24 | 2 | -4/+6 |
| |/ / |/| | | | | | | | | closes #18314 | ||||
* | | | Merge pull request #18478 from cgohlke/patch-3 | Sebastian Berg | 2021-02-23 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | BUG: verify pointer against NULL before using it |