summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | oops removed an (signed char) ... fixedJack J. Woehr2019-10-191-2/+2
| | | | | | | | | |
| * | | | | | | | | change suggested by mattipJack J. Woehr2019-10-191-1/+1
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' of https://github.com/numpy/numpy into einsum_c_bugletJack J. Woehr2019-10-1883-1160/+3425
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | |
| | * | | | | | | | DOC: update docstring of allclose to clarify how NaN's are handled.johann.faouzi2019-10-181-4/+4
| | | | | | | | | |
| | * | | | | | | | Merge pull request #14629 from sethtroisi/polyfit_docRalf Gommers2019-10-181-4/+4
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | DOC: clarify residual in np.polyfit
| | | * | | | | | | | DOC: clarify residual in np.polyfitSeth Troisi2019-10-021-4/+4
| | | | | | | | | | |
| | * | | | | | | | | Merge pull request #14738 from eric-wieser/fix-intp-printfMatti Picus2019-10-1811-48/+48
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG: Don't narrow intp to int when producing error messages
| | | * | | | | | | | | Fix other incorrect narrowing for format stringsEric Wieser2019-10-1710-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that zd is for Py_ssize_t, and `NPY_INTP_FMT` is for npy_intp. In all conceivable situations these are the same type, but we don't today check that at compile time, so for now we maintain the distinction. Found by searching for `Format\([^;]+\(int\)`.
| | | * | | | | | | | | BUG: Don't narrow intp to int when producing error messagesEric Wieser2019-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to the error message in gh-5975
| | * | | | | | | | | | Merge pull request #14699 from mattip/doc-warningsRalf Gommers2019-10-1813-82/+82
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: reduce the number of doc build warnings
| | | * | | | | | | | | | DOC: convert `None` to bare None or ``None``mattip2019-10-1511-29/+29
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: no `data_as` reference is availablemattip2019-10-151-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: fix output argument referencemattip2019-10-152-31/+31
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: add numpy prefixmattip2019-10-152-21/+21
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merge pull request #14720 from WarrenWeckesser/dep-finRalf Gommers2019-10-182-0/+151
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / / / / | | |/| | | | | | | | | | DEP: deprecate financial functions.
| | | * | | | | | | | | | MAINT: deprecate financial functions.Warren Weckesser2019-10-162-0/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per NEP-32, the financial functions are deprecated.
| | * | | | | | | | | | | Merge pull request #14608 from mattip/random-apiRalf Gommers2019-10-1733-626/+2072
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | API: rearrange the cython files in numpy.random
| | | * | | | | | | | | | DOC: fix from reviewmattip2019-10-171-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | TEST, DOC: fixes from reviewmattip2019-10-171-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: typos from reviewmattip2019-10-152-2/+2
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: clean up for moved references, remove ISeedSequencemattip2019-10-139-35/+29
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: move bit_generator and generator to be privatemattip2019-10-1117-28/+17
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: remove unused functions from distributions.hmattip2019-10-113-39/+36
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: refactor function names in distribution.{h,c}, refactor float_fillmattip2019-10-117-262/+117
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: make BitGenerators privatemattip2019-10-1112-29/+25
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: rename common, bounded_integers -> _common, _bounded_integers; cleanupmattip2019-10-1117-22/+1615
| | | | | | | | | | | | |
| | | * | | | | | | | | | API: rearrange the cython files in numpy.randommattip2019-10-1119-259/+281
| | | | | | | | | | | | |
| | * | | | | | | | | | | MAINT: umath: Change error message for unsupported bool subtraction.Warren Weckesser2019-10-161-1/+1
| | | |_|/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error message that results when attempting to subtract bool arrays is changed to say that the operation is "not supported", rather than "is deprecated". This is now consistent with a similar error message from the negative unary operator.
| | * | | | | | | | | | Merge pull request #14681 from seberg/remove-unused-boolean-loopsWarren Weckesser2019-10-162-4/+2
| | |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / / / | | |/| | | | | | | | | MAINT: Remove unused boolean negative/subtract loops
| | | * | | | | | | | | MAINT: General fix removing unused boolean loopsSebastian Berg2019-10-112-4/+2
| | | |/ / / / / / / /
| | * | | | | | | | | API: NaT (arg)min/max behavior (#14717)Zijie (ZJ) Poh2019-10-154-64/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed, we want argmin/argmax/min/max to return NaT when it exists in the array. I modified some previous test cases that ignores NaT. I also combined the DATETIME_argmin function with more general argmin function. So that it is consistent with argmax. Closes gh-12797.
| | * | | | | | | | | Merge pull request #14381 from WarrenWeckesser/bug-hist-ptpSebastian Berg2019-10-152-5/+26
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG: lib: Fix histogram problem with signed integer arrays.
| | | * | | | | | | | | BUG: lib: Fix histogram problem with signed integer arrays.Warren Weckesser2019-10-152-5/+26
| | | | |_|_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An input such as np.histogram(np.array([-2, 0, 127], dtype=np.int8), bins="auto") would raise the exception ValueError: Number of samples, -1, must be non-negative. The problem was that the peak-to-peak value for the input array was computed with the `ptp` method, which returned negative values for signed integer arrays when the actual value was more than the maximum signed value of the array's data type. The fix is to use a peak-to-peak function that returns an unsigned value for signed integer arrays. Closes gh-14379.
| | * | | | | | | | | Merge pull request #14342 from raamana/is_scalar_docsMatti Picus2019-10-161-11/+15
| | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | | DOC: Improve documentation of `isscalar`.
| | | * | | | | | | | help to identify a numeric scalarPradeep Reddy Raamana2019-08-231-4/+8
| | | | | | | | | | |
| | | * | | | | | | | renamed the input arg to remove hint it is geared for numbersPradeep Reddy Raamana2019-08-231-7/+7
| | | | | | | | | | |
| | * | | | | | | | | Merge pull request #14714 from eric-wieser/datetime-arange-fixSebastian Berg2019-10-152-19/+23
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Default start to 0 for timedelta arange
| | | * | | | | | | | | BUG: Default start to 0 for timedelta arangeEric Wieser2019-10-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, it would confusingly default to NaT, which was not useful. Fixes gh-14713
| | | * | | | | | | | | MAINT: C99-ify declarations in datetime_arangeEric Wieser2019-10-151-18/+16
| | | | | | | | | | | |
| | * | | | | | | | | | Merge pull request #9301 from GuyInALabCoat/doc_editMatti Picus2019-10-151-14/+16
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: added note to docstring of numpy.savez
| | | * | | | | | | | | | Use filename (vs file name) consistentlyStefan van der Walt2019-10-151-8/+8
| | | | | | | | | | | | |
| | | * | | | | | | | | | Tidy up savez keys-as-file-names languageStefan van der Walt2019-10-151-20/+8
| | | | | | | | | | | | |
| | | * | | | | | | | | | DOC: edited numpy.savez docstring note to be more specificDmytro2019-10-151-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note states that dictionary keys are stored as file names and may undergo unintended changes when they are not recognized as valid file names. In such cases the keys must be properly encapsulated and escaped to avoid being changed.
| | | * | | | | | | | | | DOC: added note to docstring of numpy.savezDmytro2019-10-151-0/+5
| | | | |_|_|/ / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note indicates that when used with dictionaries, savez will remove leading "/" in dictionary keys. See #9265
| | * | | | | | | | | | Merge pull request #12129 from ydup/masterMatti Picus2019-10-151-0/+3
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Improve axes shift description and example in np.tensordot
| | | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into masterEric Wieser2019-10-15464-24302/+71861
| | | |\ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | Add wording suggested by Eric. Remove extra example.Stefan van der Walt2019-10-151-35/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (The existing example already showcases the contracted axis stacking.)
| | | * | | | | | | | | | | Axes shift description and example of np.tensordotYadong Zhang2018-10-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Axes shift description and example of np.tensordot in its doc string
| | * | | | | | | | | | | | Merge pull request #14710 from seberg/ufunc-out-deprecationMatti Picus2019-10-152-20/+6
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DEP: Finish the out kwarg deprecation for ufunc calls
| | | * | | | | | | | | | | | DEP: Finish the out kwarg deprecation for ufunc callsSebastian Berg2019-10-152-20/+6
| | | | |_|_|/ / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was started in gh-14682 but I missed the path in the override.c (since we parse these things multiple times currently). I am not clear why the test seems to be flaky to be honest...