summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.indexing.rst
Commit message (Collapse)AuthorAgeFilesLines
* add np.iterable to reference guidepantelis2021-12-221-0/+1
|
* DOC: Replaced indexing stub doc with routinesMukulika2021-08-181-56/+66
|
* DOC: Exchanged the contents of Indexing basics and Indexing ref docsMukulika2021-08-181-696/+34
|
* DOC: Rearranged parts of the Indexing docs to consolidate contentMukulika2021-08-181-203/+364
|
* DOC: Fix Boolean array indexing typoBen Derrett2020-10-161-1/+1
|
* DOC: Fix the links for ``Ellipsis`` (#17431)Takanori H2020-10-021-4/+4
|
* DOC: add new glossary terms (#17263)Matti Picus2020-09-141-0/+3
| | | | | | | | | | | * DOC: add new glossary terms * DOC: link to python Ellipsis * DOC: fixes from review * DOC: fixes from review * DOC: remove glossary items that belong to python
* DOC: Remove the links for ``True`` and ``False`` (#16887)Takanori H2020-07-311-4/+4
| | | * DOC: use :py:data:True and :py:data:False
* DOC: Fix typos and cosmetic issuesMartin Michlmayr2020-05-171-1/+1
|
* DOC: Fix indexing docs to pass refguide (#15694)Pierre de Buyl2020-03-041-21/+12
| | | | * DOC: Add missing imports, np prefix, fix printing, fix examples Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
* DOC:Link between the two indexing documentation pagesSamesh2019-07-161-1/+1
| | | | Fix linking error
* DOC:Link between the two indexing documentation pagesSamesh2019-07-161-1/+1
| | | | Fixed linking error
* DOC:Link between the two indexing documentation pagesSamesh2019-07-161-0/+4
| | | | | | | | | Made references to each other for the following two indexing docs https://docs.scipy.org/doc/numpy-1.15.0/user/basics.indexing.html https://docs.scipy.org/doc/numpy-1.13.0/reference/arrays.indexing.html closes #12195
* DOC: add copy on slicing noticewtli2019-03-141-0/+11
|
* DOC: more doc updates for structured arraysAllan Haldane2018-12-151-8/+4
| | | | [ci skip]
* DOC: Fix desc. of Ellipsis behavior in referenceJim Turner2018-12-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | `Ellipsis` expands to make the selection tuple be consistent with the number of dimensions of the array being indexed. The length of the expanded selection tuple may not be equal to the number of dimensions in the array due to `newaxis` objects or advanced indexing. This commit fixes the docs to correctly explain the behavior of `Ellipsis`. For example, ```python >>> import numpy as np >>> x = np.zeros((3, 3, 3)) >>> x[:, ..., :2, np.newaxis].shape (3, 3, 2, 1) >>> x[:, :, :2, np.newaxis].shape (3, 3, 2, 1) ``` The `Ellipsis` expands to a single `:` so that the selection tuple can index the 3-D array. The length of the expanded selection tuple is 4, not 3 as the docs indicated before this commit.
* DOC: typos, small fixesmattip2018-06-151-2/+3
|
* DEP: Deprecate non-tuple multidimensional indicesSebastian Berg2018-05-251-6/+11
| | | | | | 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.
* ENH: don't show boolean dtype, as it is impliedEric Wieser2017-11-131-1/+1
|
* DEP, ENH: deprecate UPDATEIFCOPY (except for nditer) and replace with ↵Matti Picus2017-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WRITEBACKIFCOPY (#9639) * ENH: add API to resolve UPDATEONCOPY outside dealloc, test and use * BUG: Fix usage of keyword "from" as argument name for "can_cast". Also removed inconsistency between the second argument name between documentation ("totype") and code ("to"). * UPDATEIFCOPY -> WRITEBACKIFCOPY, documentation * fixes for review * review2, fix new test * fix new test for using self.assert_deprecated * change deprecation logic as per review * new logic exposed places where PyArray_ResolveWritebackIfCopy not called * deprecate PyArray_XDECREF_ERR in favor of PyArray_DiscardWritebackIfCopy * code review changes * clean up merge cruft * fix from review * fixes from review * extend the release note
* Correction in default stop index value for negative stepping.zengi2017-04-291-1/+1
| | | | | | | | On line 88 the default value for stop index 'j' in the basic slice syntax is i:j:k for negative values of k is given as -1 Line 88: and -1 for *k < 0* . If *k* is not given it defaults to 1. Note that Proposing that this should be changed to -n-1: Line 88: and *-n-1* for *k < 0* . If *k* is not given it defaults to 1. Note that The issue was discussed and was approved by a project member see the following link : https://github.com/numpy/numpy/issues/9010#issuecomment-298095768
* DOC: Use getitem and setitem in indexCharles Harris2017-02-101-2/+2
| | | Replaces getslice and setslice which have been removed.
* DOC: Change index keywords to dissociate from deprecated magic methodsEric Wieser2017-02-091-2/+2
|
* change all non-code instances of Numpy to NumPyPierre de Buyl2016-09-061-1/+1
| | | | | | | | | Instances remain for NumpyVersion and Numpy.rec.fromarrays that are references to code. Release notes were left unchanged. see issue #7986
* DOC: Removed an extra `:const:`Joseph Fox-Rabinovitz2016-04-071-1/+1
|
* MAINT: Typo in arrays.indexing.rst Issue#6670floatingpointstack2015-11-121-1/+1
|
* DOC: Update docs.Gabor Kovacs2015-06-211-5/+4
| | | | | | | Update docs for boolean array indexing and nonzero order. Add links to row-major and column-major terms where they appear. Closes #3177
* DOC: improve record/structured array nomenclature & guideAllan Haldane2015-01-221-9/+9
| | | | | | | | | | | This update adds a section better describing record arrays in the user guide (numpy/doc/structured_arrays.py). It also corrects nomenclature, such that "structured array" refers to ndarrays with structured dtype, "record array" refers to modified ndarrays as created by np.rec.array, and "recarray" refers to ndarrays viewed as np.recarray. See the note at the end of the structured array user guide.
* DOC: fix a couple mistakes in the indexing documentationJulian Taylor2014-06-111-5/+5
| | | | closes gh-618
* Merge pull request #4076 from seberg/advanced-indexing-docCharles Harris2014-05-291-107/+279
|\ | | | | DOC: Rework the advanced indexing documentation.
| * DOC: Rework the advanced indexing documentation.Sebastian Berg2014-05-291-107/+279
| | | | | | | | | | | | Mostly makes the advanced indexing doc much more example based, and prominently mentions the np.ix_ function. Some subtleties (some of which are new) are also mentioned.
* | updated for None-npnewaxis alias commentjess0102014-04-171-2/+2
| |
* | arrays.indexing.rstjess0102014-04-151-2/+2
|/
* DOC: Advanced indexing using np.newaxesSebastian Berg2013-04-121-2/+2
| | | | | Mention in release notes and remove documentation which may give the idea it cannot be used with advanced indexing.
* change DeprecationWarning to FutureWarningJay Bourque2012-07-171-1/+1
|
* Updated reference docs for DeprecationWarningJay Bourque2012-07-171-0/+10
|
* updated documentation from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-7/+0
|
* docs: strip trailing whitespace from RST filesPauli Virtanen2009-03-211-12/+12
|
* Moved numpy-docs under doc/ in the main Numpy trunk.Pauli Virtanen2008-11-231-0/+375