summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11105 from eric-wieser/take_along_axis-strictMarten van Kerkwijk2018-05-282-0/+19
|\ | | | | ENH: Add (put|take)_along_axis
| * ENH: Add (put|take)_along_axis as described in #8708Eric Wieser2018-05-252-0/+19
| | | | | | | | This is the reduced version that does not allow any insertion of extra dimensions
* | Merge pull request #10898 from EricCousineau-TRI/prefer-user-copyswapnEric Wieser2018-05-281-0/+6
|\ \ | | | | | | ENH: Have dtype transfer for equivalent user dtypes prefer user-defined `copyswapn`
| * | ENH: Have dtype transfer for equivalent user dtypes prefer user-defined ↵Eric Cousineau2018-05-181-0/+6
| | | | | | | | | | | | `copyswapn`
* | | Merge pull request #9686 from eric-wieser/force-tupleCharles Harris2018-05-272-6/+18
|\ \ \ | | | | | | | | DEP: Deprecate non-tuple nd-indices
| * \ \ Merge branch 'master' into force-tupleEric Wieser2018-05-2565-1060/+1311
| |\ \ \
| * | | | DEP: Deprecate non-tuple multidimensional indicesSebastian Berg2018-05-252-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, arr[[None, 0]] and arr[(None, 0)] mean the same thing, yet arr[[0, 0]] and arr[(0, 0)] mean different things. This makes it super hard to make a subclass or duck array that behaves consistently with ndarray. By deprecating this feature, we force downstream library code to stop using it, which in turn makes that library code use approaches that are easier to implement in subclasses and duck types.
* | | | | Merge pull request #11145 from mattip/nep-tweakCharles Harris2018-05-272-1/+14
|\ \ \ \ \ | |_|/ / / |/| | | | DOC: cleanup NEP creation
| * | | | setting version confuses circlecimattip2018-05-241-2/+1
| | | | |
| * | | | DOC: cleanup NEP creationmattip2018-05-243-2/+16
| | |_|/ | |/| |
* | | | BUG: __copy__ and __deepcopy__ should preserve MaskedConstant (#11038)Kritika Jalan2018-05-251-0/+5
| | | | | | | | | | | | Fixes #11021
* | | | ENH: Modify intersect1d to return common indices (#10684)Christopher2018-05-251-0/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added function commonpts1d * Update arraysetops.py * Update arraysetops.py * modified intersect1d to return common indices Proposed this idea in previous pull request (https://github.com/numpy/numpy/pull/10683) and made suggested changes for implementing this idea to have relevant common indices that correspond to the values in the intersection of the two arrays. * update intersect1d with suggested changes * implemented return_indices options for intersect1d I've tested out the above code and for the ~10 different test sets I've tried it's worked thus far. It's probably not the cleanest implementation but it works and is vectorized. * cleaned up structure for intersect1d * fixed copy-paste error, added second test, changed a conditional * Testing return_indices in intersect1d * formatting * created separate test function for intersect1d indices, added spaces after commas * fixed up example and some style * fixed style * style change * removed one example * removed extra space * added version number for return_indices * added 'return_indices' keyword for np.intersect1d * fixed formatting * updated return_indices entry * fixed some typos and style * added bit about first instance of a value being used * STY: Fix comment formats * DOC: missing space * DOC: correct parameter names in docstring * made suggested changes * fixed a mistake from previous update also added documentation for comm1, comm2 to match doc from np.unique * added in tests for 2d inputs * STY: Add missing spaces around commas * TST: Correct array to actually be unique * STY: Spaces at beginning of comments
* | | DOC: Describe new keepdims arguments (and axes).Marten van Kerkwijk2018-05-182-2/+39
| | | | | | | | | | | | | | | | | | Both in the general documentation and in the release notes. For the latter, also include a description of ``axes``, which was missing so far.
* | | Merge pull request #10991 from eric-wieser/genfromtxt-docsCharles Harris2018-05-161-36/+36
|\ \ \ | |_|/ |/| | DOC: Update genfromtxt docs to use StringIO and u-strings
| * | DOC: Update genfromtxt docs to use StringIO and u-stringsEric Wieser2018-04-271-36/+36
| | | | | | | | | | | | | | | | | | We could also instead use b-strings everywhere, but encouraging unicode seems like the right thing to do. Fixes #8498
* | | DOC: Mention we can return unitinitialized values (#11086)Matti Picus2018-05-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: mention we can return unitinitialized values * squash and rebase, extend explanation and improve docstring template * MAINT: Spelling fixes for docstrings. [ci skip] * MAINT: Update following feedback.
* | | Merge pull request #11094 from mattip/fix-11080Charles Harris2018-05-152-1/+17
|\ \ \ | | | | | | | | DOC: add numpy.lib.format to docs and link to it
| * | | DOC: add numpy.lib.format to docs and link to itmattip2018-05-142-1/+17
| | | |
* | | | Merge branch 'master' into linalg-move-matrix-powerCharles Harris2018-05-149-43/+210
|\ \ \ \
| * \ \ \ Merge pull request #11009 from numpy/release_walkthrough_1.14.3notesCharles Harris2018-05-141-37/+73
| |\ \ \ \ | | | | | | | | | | | | DOC: release walkthrough updates from 1.14.3
| | * | | | MAINT: Change 1.14.1 reference to 1.14.3release_walkthrough_1.14.3notesCharles Harris2018-05-041-1/+1
| | | | | | | | | | | | | | | | | | [ci skip]
| | * | | | DOC: release walkthrough updates from 1.14.3Allan Haldane2018-04-291-36/+72
| | | | | |
| * | | | | Merge pull request #11023 from eric-wieser/histogramdd-no-fuzzCharles Harris2018-05-141-0/+7
| |\ \ \ \ \ | | |_|/ / / | |/| | | | BUG: np.histogramdd loses precision on its inputs, leading to incorrect results
| | * | | | DOC: Add release notes for histogram[dd] changes.Eric Wieser2018-05-141-0/+7
| | | |/ / | | |/| | | | | | | | | | | | This covers the changes made in gh-10324 and gh-11023
| * | | | DOC: create label and ref, fixes broken linkmattip2018-05-131-1/+1
| | | | |
| * | | | DOC: link to updated module docstring, not NEPmattip2018-05-131-1/+1
| | | | |
| * | | | Merge pull request #8157 from ahaldane/void_item_memviewCharles Harris2018-05-121-0/+6
| |\ \ \ \ | | | | | | | | | | | | BUG: void .item() doesn't hold reference to original array
| | * | | | MAINT: make unstructured void .item() return byteAllan Haldane2018-04-131-0/+6
| | | | | |
| * | | | | Merge pull request #11073 from mattip/doc-11036Charles Harris2018-05-111-2/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | DOC: expand reasoning behind npy_*floatstatus_barrer()
| | * | | | | DOC: expand reasoning behind npy_*floatstatus_barrer()mattip2018-05-101-2/+13
| | | | | | |
| * | | | | | Merge pull request #11056 from bashtage/random-permute-perfCharles Harris2018-05-101-0/+4
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | MAINT: Improve performance of random permutation
| | * | | | | PERF: Improve performance of random permutationKevin Sheppard2018-05-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fancy indexing instead of a shuffle to avoid unnecessary object access closes #11013
| * | | | | | BUG: optimizing compilers can reorder call to npy_get_floatstatus (#11036)Matti Picus2018-05-092-5/+38
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BUG: optimizing compilers can reorder call to npy_get_floatstatus * alternative fix for npy_get_floatstatus, npy_clear_floatstatus * unify test with pr #11043 * use barrier form of functions in place of PyUFunc_{get,clear}fperr * update doc, prevent segfault * MAINT: Do some rewrite on the 1.15.0 release notes. [ci skip]
| * | | | | DOC: bump scipy-sphinx-theme to current versionPauli Virtanen2018-05-051-0/+0
| | | | | |
| * | | | | MAINT: Misc. typos (#11005)luzpaz2018-04-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User- and non-user-facing typos. Some source typos fixes as well. Found via `codespell`.
| * | | | | REL: add 1.14.3 changelogfwd_port_1.14.3_changelogAllan Haldane2018-04-291-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | | DOC: create 1.14.3 release noteAllan Haldane2018-04-291-0/+41
| | |_|/ / | |/| | |
* | | | | ENH: Allow stacks of matrices in matrix_power.Marten van Kerkwijk2018-04-291-2/+9
|/ / / / | | | | | | | | | | | | | | | | Since linalg allows stacks of matrices generally, there is no reason not to allow it for matrix_power.
* | | | Merge pull request #10949 from mattip/doc-nditerAllan Haldane2018-04-273-26/+33
|\ \ \ \ | | | | | | | | | | DOC: cleanup documentation, continuation of nditer PR #9998
| * \ \ \ Merge branch 'master' into doc-nditerCharles Harris2018-04-244-12/+28
| |\ \ \ \
| * | | | | DOC: cleanup documentation, continuation of nditer PR #9998mattip2018-04-233-27/+34
| | | | | |
* | | | | | Merge pull request #10980 from mattip/masterCharles Harris2018-04-272-3/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | DOC: link to governance, convert external link to internal
| * | | | | DOC: link to governance, convert external link to internalmattip2018-04-272-3/+5
| | |/ / / | |/| | |
* | | | | Merge pull request #10635 from hameerabbasi/ufunc-reduce-identityMarten van Kerkwijk2018-04-261-0/+6
|\ \ \ \ \ | | | | | | | | | | | | ENH: Implement initial kwarg for ufunc.add.reduce
| * | | | | ENH: Implement initial kwarg for ufunc.add.reduceHameer Abbasi2018-04-241-0/+6
| | | | | |
* | | | | | DOC: advise against use of matrix.Marten van Kerkwijk2018-04-253-69/+46
| |/ / / / |/| | | |
* | | | | Merge pull request #10824 from mattip/fix-PyArray_DeprecateWritebackIfCopyCharles Harris2018-04-241-11/+15
|\ \ \ \ \ | | | | | | | | | | | | BUG: test, fix PyArray_DiscardWritebackIfCopy refcount issue and docu…
| * | | | | BUG: test, fix PyArray_DiscardWritebackIfCopy refcount issue and documentmattip2018-04-211-11/+15
| | | | | |
* | | | | | DOC: add quantile, nanquantile to tocmattip2018-04-241-0/+2
| |/ / / / |/| | | |
* | | | | Merge pull request #10199 from chunweiyuan/quantileStephan Hoyer2018-04-231-0/+10
|\ \ \ \ \ | | | | | | | | | | | | ENH: Quantile