summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'master' into force-zip64Charles Harris2019-06-2615-104/+186
| |\ \
| | * | BUG: further fixup to histogram2d dispatcher.Marten van Kerkwijk2019-06-202-2/+26
| | |/ | | | | | | | | | Now with tests....
| | * Update nanfunctions.pyHe Jia2019-06-141-0/+1
| | |
| | * Update function_base.pyHe Jia2019-06-141-1/+2
| | |
| | * Merge pull request #13757 from shoyer/hist-dispatcherMarten van Kerkwijk2019-06-142-2/+22
| | |\ | | | | | | | | MAINT: fix histogram*d dispatchers
| | | * MAINT: check bins length in histogram2d_dispatcherStephan Hoyer2019-06-111-4/+11
| | | |
| | | * MAINT: spellingStephan Hoyer2019-06-111-1/+1
| | | |
| | | * MAINT: fix histogram*d dispatchersStephan Hoyer2019-06-112-2/+15
| | | | | | | | | | | | | | | | fixes GH-13728
| | * | BUG: ensure i0 does not change the shape.Marten van Kerkwijk2019-06-122-16/+16
| | |/
| | * Merge pull request #13222 from kritisingh1/patch1Matti Picus2019-06-103-58/+80
| | |\ | | | | | | | | DOC: Document/ Deprecate functions exposed in "numpy" namespace
| | | * fix testskritisingh12019-06-072-7/+12
| | | |
| | | * Fix testskritisingh12019-04-102-65/+60
| | | |
| | | * Issue deprecation warningskritisingh12019-04-053-2/+24
| | | |
| | * | BUG: Ensure that the url request is closed if the file cannot be openedEric Wieser2019-06-041-7/+4
| | | |
| | * | MAINT: Use a with statement instead of try / finallyEric Wieser2019-06-041-8/+2
| | | | | | | | | | | | | | | | All of this code was already correct, this just tidies it a little
| | * | MAINT: speed up [hvd]stack by eliminating list comprehension. (#13697)Marten van Kerkwijk2019-06-011-1/+4
| | | |
| | * | MAINT: Misc. typo fixes (#13664)luzpaz2019-05-313-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * DOC, MAINT: Misc. typo fixes Found via `codespell`
| | * | MAINT: Fixes tests with __array_function__ disabledStephan Hoyer2019-05-262-6/+26
| | | |
| * | | ENH: always use zip64, upgrade pickle protocol to 3mattip2019-05-233-8/+19
| |/ /
| * | Fixed minor doc error in take_along_axisJavier Dehesa2019-05-211-1/+1
| | | | | | | | | Fixes #13598
| * | BUG: Increment stacklevel for warnings to account for NEP-18 overrides (#13589)Stephan Hoyer2019-05-206-32/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Increment stacklevel for warnings to account for NEP-18 overrides For NumPy functions that make use of `__array_function__`, the appropriate the stack level for warnings should generally be increased by 1 to account for the override function defined in numpy.core.overrides. Fixes GH-13329 * Update numpy/lib/type_check.py Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
| * | Merge branch 'master' into npy-2.1Matti Picus2019-05-1913-72/+200
| |\ \
| | * \ Merge pull request #13571 from Bharat123rox/viewMatti Picus2019-05-161-2/+1
| | |\ \ | | | | | | | | | | DOC: Mention that expand_dims returns a view
| | | * | Make wording changes according to @mattipBharat123rox2019-05-161-2/+1
| | | | |
| | | * | DOC: Mention that expand_dims returns a viewBharat123rox2019-05-161-1/+1
| | | | |
| | * | | Merge pull request #13544 from eric-wieser/empty-broadcastMatti Picus2019-05-151-2/+0
| | |\ \ \ | | | | | | | | | | | | ENH: Allow broadcast to be called with zero arguments
| | | * | | ENH: Allow broadcast to be called with zero argumentsEric Wieser2019-05-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follows on from gh-6905 which reduced the limit from 2 to 1. Let's go all the way to zero. Just as for `broadcast(broadcast(a), b)` is interpreted as `broadcast(a, b)` , this change interprets `broadcast(broadcast(), a)` as `broadcast(a)`.
| | * | | | Complete the exampleBharat123rox2019-05-121-0/+2
| | | | | |
| | * | | | Add suggested exampleBharat123rox2019-05-121-5/+9
| | | | | |
| | * | | | Merge upstream branch 'master' of https://github.com/numpy/numpy into ↵Bharat123rox2019-05-1214-83/+275
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | fix-genfromtxt
| | | * | | Merge pull request #10308 from eric-wieser/mask-attr-is-viewMatti Picus2019-05-121-1/+1
| | | |\ \ \ | | | | | | | | | | | | | | API: Make MaskedArray.mask return a view, rather than the underlying mask
| | | | * | | API: Make MaskedArray.mask return a view, rather than the underlying maskEric Wieser2019-05-111-1/+1
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents consumers from reshaping the mask in place, which breaks things As a result, `x.mask is x.mask` returns `False`, but this was already true of `x.data is x.data`. May also be related to gh-10270
| | | * | | Merge pull request #13433 from mattip/issue13431Sebastian Berg2019-05-122-4/+64
| | | |\ \ \ | | | | | | | | | | | | | | BUG: Handle subarrays in descr_to_dtype
| | | | * | | MAINT: remove uneeded codemattip2019-05-112-15/+24
| | | | | | |
| | | | * | | BUG: parse more subarrays in descr_to_dtypemattip2019-05-032-2/+51
| | | | | | |
| | | | * | | BUG: handle subarrays in descr_to_dtypemattip2019-04-302-3/+5
| | | | |/ /
| | | * | | Merge pull request #12962 from mattip/unpackbitsCharles Harris2019-05-111-46/+93
| | | |\ \ \ | | | | | | | | | | | | | | ENH: Add 'bitorder' keyword to packbits, unpackbits
| | | | * | | ENH: changes from reviewmattip2019-05-111-25/+29
| | | | | | |
| | | | * | | BUG: parametrize tests, fix for interaction of count, ordermattip2019-05-111-41/+69
| | | | | | |
| | | | * | | ENH: add 'order' keyword to packbits, unpackbitsmattip2019-05-111-6/+21
| | | | | | |
| | | * | | | Merge pull request #13402 from eric-wieser/genfromtxt-defaultsSebastian Berg2019-05-111-1/+2
| | | |\ \ \ \ | | | | | | | | | | | | | | | | DOC: Show the default value of deletechars in the signature of genfromtxt
| | | | * | | | DOC: Show the default value of deletechars in the signature of genfromtxtEric Wieser2019-05-111-1/+2
| | | | | | | |
| | | * | | | | Merge pull request #13482 from mattip/durationsSebastian Berg2019-05-111-7/+3
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | TEST: add duration report to tests, speed up two outliers
| | | | * | | | | TEST: tweak two slow tests to speed them upmattip2019-05-111-7/+3
| | | | | | | | |
| | | * | | | | | Merge pull request #13332 from eric-wieser/fix-subarray-unstructuredCharles Harris2019-05-112-2/+11
| | | |\ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | | | BUG: Always return views from structured_to_unstructured when possible
| | | | * | | | | BUG: Always return views from structured_to_unstructured when possibleEric Wieser2019-05-012-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also applies to unstructured_to_structured While producing correct resutls, the test added in this commit would previously make an unecessary copy, causing the assertion to fail. The cause was `astype` was being asked to convert from a subarray of shape `(x, y)` to one of `(x*y,)`, which it cannot do without making a copy. This changes the approach used to skip the step of flattening subarrays to 1d
| | | * | | | | | DOC: have notes in histogram_bin_edges match parameter styleRyan Levy2019-05-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bins only accepts lowercase strings, but the notes are capitalized.
| | | * | | | | | Merge pull request #13298 from navneet-nmk/diff-errorEric Wieser2019-05-022-0/+5
| | | |\ \ \ \ \ \ | | | | |_|/ / / / | | | |/| | | | | ENH: Added clearer exception for np.diff on 0-dimensional ndarray
| | | | * | | | | ENH: add clearer error message for diff(0-d)ayir2019-04-262-0/+5
| | | | | | | | |
| | | * | | | | | BUG: fix unravel_index when dimension is greater than 'intp'psschand2019-05-011-0/+3
| | | | |_|_|/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The PR is: gh13439 Closes gh-9538