| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | 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 | |||||
| | * | | | | MAINT: verify pointer against NULL before using it | Christoph Gohlke | 2021-02-23 | 1 | -1/+1 | |
| | |/ / / | ||||||
| * | | | | MAINT: remove nonsensical comparison of pointer < 0 | Christoph Gohlke | 2021-02-23 | 1 | -1/+1 | |
| |/ / / | ||||||
| * | | | Merge pull request #18372 from lelayf/random-standard_t-doc | Charles Harris | 2021-02-23 | 2 | -30/+54 | |
| |\ \ \ | |/ / |/| | | DOC: improve standard_t example in numpy.random. | |||||
| | * | | Merge branch 'master' into random-standard_t-doc | François Le Lay | 2021-02-17 | 50 | -465/+1683 | |
| | |\ \ | ||||||
| | * | | | Remove poorly cited reference | François Le Lay | 2021-02-12 | 2 | -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 Lay | 2021-02-08 | 2 | -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 #18110 from mhvk/function-base-piecewise-refactor | Sebastian Berg | 2021-02-22 | 2 | -2/+10 | |
| |\ \ \ \ | | | | | | | | | | | API: make piecewise subclass safe using use zeros_like. | |||||
| | * | | | | API: make piecewise subclass safe using use zeros_like. | Marten van Kerkwijk | 2021-02-22 | 2 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_segfault | Sebastian Berg | 2021-02-22 | 4 | -8/+35 | |
| |\ \ \ \ \ | |/ / / / |/| | | | | BUG: Segfault in nditer buffer dealloc for Object arrays | |||||
| | * | | | | BUG: Segfault in nditer buffer dealloc for Object arrays | Allan Haldane | 2021-02-21 | 4 | -8/+35 | |
| | | | | | | ||||||
| * | | | | | Merge pull request #18404 from seberg/issue-18401 | Matti Picus | 2021-02-22 | 2 | -43/+76 | |
| |\ \ \ \ \ | | | | | | | | | | | | | BUG: Fix iterator shape in advanced index assignment broadcast error | |||||
| | * | | | | | BUG: Fix iterator shape in advanced index assignment broadcast error | Sebastian Berg | 2021-02-12 | 2 | -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-shuffle | Matti Picus | 2021-02-22 | 3 | -10/+24 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | BUG: fix stacklevel in warning within random.shuffle | |||||
| | * | | | | | | TST: Add test for shuffle warning and assert stacklevel | Sebastian Berg | 2021-02-19 | 1 | -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.shuffle | Sebastian Berg | 2021-02-19 | 2 | -10/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cython does _not_ add a new stacklevel (at least at this time), so `stacklevel=1` (or ommiting it) is, maybe surprisingly, correct. | |||||
| * | | | | | | | BUG: Fixed an issue where `diagflat` could overflow on windows and 32-bit ↵ | Bas van Beek | 2021-02-21 | 1 | -4/+4 | |
| | |_|/ / / / |/| | | | | | | | | | | | | | | | | | platforms | |||||
| * | | | | | | Merge pull request #15392 from seberg/void-no-arr-modification | Matti Picus | 2021-02-19 | 3 | -81/+153 | |
| |\ \ \ \ \ \ | |/ / / / / |/| | | | | | BUG: Remove temporary change of descr/flags in VOID functions | |||||
| | * | | | | | TST: Add test for nonzero and copyswapn (through advanced indexing) | Sebastian Berg | 2021-02-17 | 2 | -0/+45 | |
| | | | | | | | ||||||
| | * | | | | | BUG: Remove temporary change of descr/flags in VOID functions | Sebastian Berg | 2021-02-17 | 1 | -81/+108 | |
| | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done using a hack around stack allocated arrays, which requires some dark magic with respect to the setting the base object (we skip normal arrays and INCREF/DECREF during base setting, which _does_ work for such static arrays, but only if we give them a (not quite) fake refcount of 1 and set the base and their type correctly to PyArrayType. Closes gh-15387 | |||||
| * | | | | | CLN: Add additional cast | Kevin Sheppard | 2021-02-18 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | MAINT: Correct code producing warnings | Kevin Sheppard | 2021-02-18 | 3 | -3/+3 | |
| |/ / / / | | | | | | | | | | | | | | | | | Cast to avoid warnings Correct function | |||||
| * | | | | Merge pull request #18436 from seberg/refcount-leak-f2py | Matti Picus | 2021-02-17 | 1 | -0/+1 | |
| |\ \ \ \ | | | | | | | | | | | BUG: Fix refcount leak in f2py `complex_double_from_pyobj` | |||||
| | * | | | | BUG: Fix refcount leak in f2py `complex_double_from_pyobj` | Sebastian Berg | 2021-02-17 | 1 | -0/+1 | |
| | |/ / / | ||||||
| * | | | | Merge pull request #16588 from SabrinaSimao/np.transpode-documentation | Melissa Weber Mendonça | 2021-02-17 | 2 | -0/+4 | |
| |\ \ \ \ | |_|_|/ |/| | | | DOC: unify the docs for np.transpose and ndarray.transpose | |||||
| | * | | | DOC: changed the way the link is being used from transpose to ndarray.transpose | SabrinaSimao | 2020-06-12 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | | I feel like the `ndarray.transpose` has more details, and it's also called by `transpose`, so i changed the way the link between them was being used | |||||
| | * | | | unify the docs for np.transpose and ndarray.transpose | SabrinaSimao | 2020-06-12 | 2 | -0/+4 | |
| | | | | | ||||||
| * | | | | Merge pull request #18395 from bashtage/random-typing | Matti Picus | 2021-02-17 | 8 | -13/+810 | |
| |\ \ \ \ | | | | | | | | | | | ENH: Initial typing of random | |||||
| | * | | | | ENH: Reorder bool and add scalar bool for integers | Kevin Sheppard | 2021-02-16 | 1 | -9/+18 | |
| | | | | | | ||||||
| | * | | | | ENH: Add overloads to integers | Kevin Sheppard | 2021-02-15 | 1 | -7/+121 | |
| | | | | | | ||||||
| | * | | | | ENH: Fix abstract integer use | Kevin Sheppard | 2021-02-15 | 1 | -2/+19 | |
| | | | | | | | | | | | | | | | | | | | | | Replace with concrete types | |||||
| | * | | | | ENH: Fix typing | Kevin Sheppard | 2021-02-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | Correct specific typing and general typing | |||||
| | * | | | | ENH: Update typing | Kevin Sheppard | 2021-02-15 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | Update with latest suggestions | |||||
| | * | | | | ENH: Add overloads | Kevin Sheppard | 2021-02-13 | 5 | -55/+192 | |
| | | | | | | ||||||
| | * | | | | ENH: Fix additional missed types | Kevin Sheppard | 2021-02-13 | 1 | -8/+17 | |
| | | | | | | ||||||
| | * | | | | ENH: More typing | Kevin Sheppard | 2021-02-13 | 1 | -82/+102 | |
| | | | | | | ||||||
| | * | | | | ENH: Update with TypedDict | Kevin Sheppard | 2021-02-13 | 6 | -28/+53 | |
| | | | | | | | | | | | | | | | | | | | | | Update using TypedDict for state | |||||
| | * | | | | ENH: Add typing for Generator | Kevin Sheppard | 2021-02-13 | 4 | -8/+253 | |
| | | | | | | ||||||
