summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Goto done when an error condition is reachedChristoph Gohlke2021-02-241-0/+1
| | | |
| * | | BUG: check if PyArray_malloc succeededChristoph Gohlke2021-02-231-1/+5
| | | |
* | | | Merge pull request #18433 from bashtage/randomstate-typingMatti Picus2021-02-249-131/+3925
|\ \ \ \ | | | | | | | | | | ENH: Add typing for RandomState
| * | | | BUG: Remove incorrect variable nameKevin Sheppard2021-02-241-1/+0
| | | | | | | | | | | | | | | | | | | | Remove incorrect variable name in randint
| * | | | CLN: Clean up random typingKevin Sheppard2021-02-242-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Clean unnecessary definitions Fix small typing errors
| * | | | TST: Add final testsKevin Sheppard2021-02-241-311/+347
| | | | |
| * | | | Use {int_} for int return typesKevin Sheppard2021-02-242-66/+66
| | | | |
| * | | | Small fixesKevin Sheppard2021-02-243-7/+4
| | | | |
| * | | | BUG: Fix typing bugsKevin Sheppard2021-02-243-78/+76
| | | | |
| * | | | ENH: Add tests for RandomStateKevin Sheppard2021-02-243-4/+1171
| | | | |
| * | | | BUG: Corect typing statements in mtrandKevin Sheppard2021-02-242-27/+64
| | | | | | | | | | | | | | | | | | | | | | | | | Bring over changes from Generator to RandomState where appropriate Remove attributes not in RandomState
| * | | | TST: Add tests for dtype and outKevin Sheppard2021-02-242-1/+83
| | | | | | | | | | | | | | | | | | | | Add further tests for functions that accept out and dtype arguments
| * | | | ENH/BUG: Improve definitions and fix bugsKevin Sheppard2021-02-243-42/+896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests Fix related bugs Improve specificity of definitions
| * | | | ENH/BUG: Add tests and correct typing issuesKevin Sheppard2021-02-248-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 typingKevin Sheppard2021-02-243-0/+56
| | | | |
| * | | | MAINT: Restructure imports in pyi fileKevin Sheppard2021-02-241-51/+53
| | | | |
| * | | | ENH: Add typing for RandomStateKevin Sheppard2021-02-243-61/+605
| | | | | | | | | | | | | | | | | | | | | | | | | Add typing for RandomState Small fixes to Generator's typing
* | | | | Merge pull request #18476 from cgohlke/patch-1Sebastian Berg2021-02-241-2/+2
|\ \ \ \ \ | | | | | | | | | | | | BUG: Remove suspicious type casting
| * | | | | MAINT: cast Py_ssize_t to intChristoph Gohlke2021-02-231-1/+1
| | | | | |
| * | | | | MAINT: Remove suspicious type castingChristoph Gohlke2021-02-231-1/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #18481 from bashtage/random-doc-fixesMatti Picus2021-02-242-4/+16
|\ \ \ \ \ | |_|/ / / |/| | | | DOC: Generator and RandomState doc improvements
| * | | | DOC: Explaing differences in code paths in choiceKevin Sheppard2021-02-242-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explanation for different results when using user-specified probabilities even if uniform closes #18172
| * | | | DOC: Correct poisson docstringKevin Sheppard2021-02-242-4/+6
|/ / / / | | | | | | | | | | | | closes #18314
* | | | Merge pull request #18478 from cgohlke/patch-3Sebastian Berg2021-02-231-1/+1
|\ \ \ \ | | | | | | | | | | BUG: verify pointer against NULL before using it
| * | | | MAINT: verify pointer against NULL before using itChristoph Gohlke2021-02-231-1/+1
| |/ / /
* | | | Merge pull request #18477 from cgohlke/patch-2Sebastian Berg2021-02-231-1/+1
|\ \ \ \ | |/ / / |/| | | BUG: remove nonsensical comparison of pointer < 0
| * | | MAINT: remove nonsensical comparison of pointer < 0Christoph Gohlke2021-02-231-1/+1
|/ / /
* | | Merge pull request #18372 from lelayf/random-standard_t-docCharles Harris2021-02-232-30/+54
|\ \ \ | | | | | | | | DOC: improve standard_t example in numpy.random.
| * \ \ Merge branch 'master' into random-standard_t-docFrançois Le Lay2021-02-1762-548/+2064
| |\ \ \
| * | | | Remove poorly cited referenceFrançois Le Lay2021-02-122-24/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Clarify point about std computation Use absolute value for p-value computation of 2-tailed test
| * | | | DOC: improve standard_t example in numpy.random.François Le Lay2021-02-082-28/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rewrite better reflects the cited reference R example by offering a 2-tailed test and more accurate language. Closes #18370.
* | | | | Merge pull request #18458 from rgommers/nep-statusSebastian Berg2021-02-235-4/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | DOC: update NEP status for accepted/finished NEPs
| * | | | DOC: update NEP status for accepted/finished NEPsRalf Gommers2021-02-235-4/+6
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #18110 from mhvk/function-base-piecewise-refactorSebastian Berg2021-02-223-2/+15
|\ \ \ \ \ | | | | | | | | | | | | API: make piecewise subclass safe using use zeros_like.
| * | | | | API: make piecewise subclass safe using use zeros_like.Marten van Kerkwijk2021-02-223-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subclass input of piecewise was already respected, so it seems more logical to ensure the output is the same subclass (possibly just an oversight that it was not done before).
* | | | | | Merge pull request #18450 from ahaldane/fix_nditer_od_segfaultSebastian Berg2021-02-224-8/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Segfault in nditer buffer dealloc for Object arrays
| * | | | | | BUG: Segfault in nditer buffer dealloc for Object arraysAllan Haldane2021-02-214-8/+35
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #18466 from numpy/dependabot/pip/hypothesis-6.3.0Charles Harris2021-02-221-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Bump hypothesis from 6.2.0 to 6.3.0
| * | | | | | MAINT: Bump hypothesis from 6.2.0 to 6.3.0dependabot-preview[bot]2021-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.2.0 to 6.3.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.2.0...hypothesis-python-6.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | | | | Merge pull request #18465 from numpy/dependabot/pip/cython-0.29.22Charles Harris2021-02-221-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | MAINT: Bump cython from 0.29.21 to 0.29.22
| * | | | | | MAINT: Bump cython from 0.29.21 to 0.29.22dependabot-preview[bot]2021-02-221-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [cython](https://github.com/cython/cython) from 0.29.21 to 0.29.22. - [Release notes](https://github.com/cython/cython/releases) - [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst) - [Commits](https://github.com/cython/cython/compare/0.29.21...0.29.22) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | | | Merge pull request #18404 from seberg/issue-18401Matti Picus2021-02-222-43/+76
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Fix iterator shape in advanced index assignment broadcast error
| * | | | | | BUG: Fix iterator shape in advanced index assignment broadcast errorSebastian Berg2021-02-122-43/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reported shape always missed the transpose operation, this refactors the transpose getting out and applies it in the error path. Closes gh-18401, gh-5710
* | | | | | | Merge pull request #18443 from seberg/fix-stacklevel-shuffleMatti Picus2021-02-223-10/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: fix stacklevel in warning within random.shuffle
| * | | | | | | TST: Add test for shuffle warning and assert stacklevelSebastian Berg2021-02-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test checks that the warning originates in the correct file (test_random.py). I am not quite sure how safe the test is, though. Unfortunately, there is no "obvious" way to test stacklevels.
| * | | | | | | BUG: fix stacklevel in warning within random.shuffleSebastian Berg2021-02-192-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cython does _not_ add a new stacklevel (at least at this time), so `stacklevel=1` (or ommiting it) is, maybe surprisingly, correct.
* | | | | | | | Merge pull request #18464 from numpy/dependabot/pip/sphinx-3.5.1Matti Picus2021-02-221-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MAINT: Bump sphinx from 3.5.0 to 3.5.1
| * | | | | | | | MAINT: Bump sphinx from 3.5.0 to 3.5.1dependabot-preview[bot]2021-02-221-1/+1
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.5.0 to 3.5.1. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.5.0...v3.5.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | | | | | Merge pull request #18463 from numpy/dependabot/pip/mypy-0.812Matti Picus2021-02-221-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | MAINT: Bump mypy from 0.800 to 0.812
| * | | | | | | MAINT: Bump mypy from 0.800 to 0.812dependabot-preview[bot]2021-02-221-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [mypy](https://github.com/python/mypy) from 0.800 to 0.812. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.800...v0.812) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>