summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | 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
| * | | | | | Clarify deletechars in docsBharat123rox2019-04-241-2/+5
| | | | | | |
| * | | | | | Resolve confusion regarding hashtag in header line of csvBharat123rox2019-04-241-0/+1
| | |_|_|/ / | |/| | | |
* | | | | | BUG/ENH: Create npy format 3.0Eric Wieser2019-05-072-15/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version encodes the dtype as utf8 instead of latin1. Unfortunately we need to create a new version to make this change, because we did not limit ourselves to ASCII in versions 1 and 2. Fixes gh-7391
* | | | | | MAINT: Simplify computation of npy format headersEric Wieser2019-05-071-49/+52
| |/ / / / |/| | | | | | | | | | | | | | This works towards adding a third format that supports utf8
* | | | | Merge pull request #8641 from eric-wieser/ix_-preserve-typeMatti Picus2019-04-292-9/+15
|\ \ \ \ \ | | | | | | | | | | | | BUG: Preserve types of empty arrays in ix_ when known
| * \ \ \ \ Merge branch 'master' into ix_-preserve-typeEric Wieser2018-07-3151-3824/+7642
| |\ \ \ \ \
| * | | | | | BUG: Preserve types of empty arrays when knownEric Wieser2017-02-192-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes regression in #5805
* | | | | | | Merge pull request #13250 from grlee77/pad_no_apply_along_axisCharles Harris2019-04-281-2/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: Improve efficiency of pad by avoiding use of apply_along_axis
| * | | | | | | MAINT: improve efficiency of pad by avoiding use of apply_along_axisGregory Lee2019-04-281-2/+15
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pad assumed that apply_along_axis was modifying the padded array in-place. In this case, it is more efficient to avoid the overhead of creating an output buffer and just directly iterate the inplace operations instead using transpose and nditer instead. MAINT: use moveaxis in place of transpose to improve clarity
* | | | | | | Merge pull request #13409 from seberg/fix-unicode-fmt-savetxtMatti Picus2019-04-262-1/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: (py2 only) fix unicode support for savetxt fmt string
| * | | | | | | BUG: (py2 only) fix unicode support for savetxt fmt stringSebastian Berg2019-04-262-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By now, all that is needed is to also allow unicode strings to pass through. Adds a test for the support which already succeeds on python3. Closes gh-4053 (replaces the old PR)
* | | | | | | | Merge pull request #13390 from eric-wieser/quantile-fractionMatti Picus2019-04-252-2/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ENH: Add support for Fraction to percentile and quantile
| * | | | | | | | ENH: Add support for Fraction to percentile and quantileEric Wieser2019-04-232-2/+39
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | With true division available, using `.0` to convert integers to floats offers no value, and harms compatibility with precise rational types.
* | | | | | | | Merge remote-tracking branch 'upstream/master' into fix-1-field-unstructuredEric Wieser2019-04-2338-2254/+2356
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | / | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Merge pull request #12594 from mattip/pypy3-testingTyler Reddy2019-04-221-1/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | DEV, BUILD: add pypy3 to azure CI
| | * | | | | | TEST: update for PyPymattip2019-04-171-1/+2
| | | | | | | |
| * | | | | | | DOC: Specify range for numpy.anglekritisingh12019-04-211-2/+2
| | | | | | | |
| * | | | | | | Merge pull request #11684 from mattip/unravel_index-emptyMatti Picus2019-04-181-0/+20
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: Raise when unravel_index, ravel_multi_index are given empty input
| | * | | | | | | BUG: raise on empty sequence input to unravel_index, ravel_index_multi; ↵mattip2019-03-291-0/+20
| | | |_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | clarify error msg
| * | | | | | | Merge pull request #12889 from ivanov/no-pickles-for-youCharles Harris2019-04-164-15/+29
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | BUG: Make allow_pickle=False the default for loading
| | * | | | | | BUG: load fails when using pickle without allow_pickle=TruePaul Ivanov2019-04-164-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a partial mitigation of #12759. see also https://nvd.nist.gov/vuln/detail/CVE-2019-6446
| * | | | | | | Merge branch 'master' into poly1d-fixes-fixes-fixes-fixesEric Wieser2019-04-1650-5894/+11569
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Merge pull request #13331 from rgommers/fix-docsMatti Picus2019-04-152-38/+45
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC, BLD: fix doc build issues in preparation for the next numpydoc release
| | | * | | | | | DOC: fix doc build warnings in a cleaner way.Ralf Gommers2019-04-151-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses review comment by @eric-wieser.
| | | * | | | | | DOC: fix 4 remaining doc build warnings.Ralf Gommers2019-04-142-33/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2 for polyfit rankwarning, 2 for divide by zero in log10.
| | | * | | | | | DOC: fix some more See Also issuesRalf Gommers2019-04-141-5/+4
| | | | |/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | These ones just generated warnings, not build failures
| | * | | | | | Merge pull request #13312 from eric-wieser/genfromtxt-closeTyler Reddy2019-04-152-270/+284
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: Close files if an error occurs in genfromtxt
| | | * | | | | | TST: unit test for gh-13200Tyler Reddy2019-04-131-1/+14
| | | | | | | | |
| | | * | | | | | BUG: Close files if an error occurs in genfromtxtEric Wieser2019-04-121-269/+270
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly indentation changes Fixes gh-13200
| | * | | | | | DOC: Added anti-diagonal examples to np.diagonal and np.fill_diagonalAnder Ustarroz2019-04-131-3/+20
| | |/ / / / /
| | * | | | | TST: fix up test_structured_paddedTyler Reddy2019-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * minor reviewer adjustments in PR 13301: in test_structured_padded it is necessary to perform the seek after writing to the file, and to specify a fmt option to match the expected result
| | * | | | | BUG: Fix crash when calling savetxt on a padded arrayEric Wieser2019-04-112-2/+12
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | As a general rule, _every_ use of `.descr` is broken. Fixes #13297
| | * | | | update testskikocorreoso2019-04-091-9/+7
| | | | | |