summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.ndarray.rst
Commit message (Collapse)AuthorAgeFilesLines
* DIC: Misc RST reformatting.Matthias Bussonnier2022-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | This contains various RST reformatting. One, moving `(C)` one line up, is specific to a bug in tree-sitter-rst that mis parses this section. Another is adding one black line for a similar reason where `..` is seen as section underline by tree-sitter-rst. This is some shuffling of section underline: try to be consitant, `=`, then `-`, then `~`, with this refactor there is also no more section that use backticks as underline. Note in particular that non-consitency of underline lead to a problem in datetime64 section where "weekmasks" (underlined with `-`) were actually a level-4 heading instead of a level 2 or 3 I guess, and thus were nested under the `busday_count()` section. You'll note also 2 formulas that are under double-quotes as they are not references.
* MAINT: Remove the RELAXED_STRIDES_CHECKING env variableSebastian Berg2022-02-111-14/+3
| | | | | An error is for now raised in `setup.py` if this is set, eventually we should just delete that.
* DOC: remove explicit imports in rst filesPierre de Buyl2021-12-081-3/+0
| | | | Add conftest.py and pytest.ini files in doc directory
* [DOC] make some doctests in user,reference pass pytestPierre de Buyl2021-12-081-3/+6
| | | | | | | | | | | | 1. Add `import numpy as np` in rst files 2. Update NumPy repr for array (whitespace) 3. Update bytearray representation 4. Fix tiny output formatting (`<class ...>`, etc) 5. Format tracebacks 6. Skip random number tests or some platform-dependent outputs 7. Add `<matplotlib. ... at 0x...>` or similar output lines where missing 8. Set seed
* DOC: Remove double property ctypes from ndarrayPeter Tillema2021-10-141-1/+0
| | | Fix #20117
* DOC: Add links to the `__class_getitem__` docsBas van Beek2021-09-161-0/+7
|
* Removing mention of the @= operator.melissawm2021-02-111-2/+2
|
* Applying suggestions from PR review.melissawm2021-02-051-3/+1
|
* DOC: Discussion on the @ operator and the matrix classmelissawm2021-02-051-3/+3
|
* DOC: Fix some referencestakanori-pskq2020-10-261-2/+2
|
* DOC: Fix the references for ``__array_*__``takanori-pskq2020-10-251-4/+4
|
* DOC: Fix some referencestakanori-pskq2020-10-241-4/+4
|
* DOC: Clarify single-segment arrays in np reference (#16011)Anirudh Subramanian2020-04-221-0/+5
| | | | | * Update doc/source/reference/arrays.ndarray.rst Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* DOC: Update documentation w.r.t. NPY_RELAXED_STRIDES_CHECKING (gh-15907)Sebastian Berg2020-04-101-4/+6
| | | | This has been the default for a very long time, so this was incorrect and mentioning any versions is probably not helpful.
* update doctests, small bugs and changes of reprPierre de Buyl2020-02-061-1/+3
| | | | | | | | | | Fix missing np prefix. Fix missing definitions. Use print function instead of the statement. Add seed to make output repeatable.
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-4/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* DOC: convert `None` to bare None or ``None``mattip2019-10-151-1/+1
|
* DOC: dimension sizes are non-negative, not positiveStephan Hoyer2019-04-271-1/+1
|
* DOC: reduce warnings when building, reword, tweak doc buildingmattip2019-02-281-7/+10
|
* DOC: ndarray.max is missingYu Kobayashi2019-02-091-0/+1
|
* DOC: fixes from reviewmattip2019-01-221-2/+2
|
* DOC: remove python2-only methods, small cleanupsmattip2019-01-211-10/+6
|
* DEP: deprecate np.set_numeric_ops and friendsmattip2018-10-211-1/+1
|
* MAINT: Remove __setslice__ and __getslice__Eric Wieser2017-02-091-2/+0
| | | | | This code was only here for Python 2.5 compatibility, but numpy requires 2.7 at minimum
* Revert 8540 patch 1 (#8541)aha662017-01-281-3/+3
| | | DOC: fix error in arrays.ndarray.rst again
* Update arrays.ndarray.rstaha662017-01-281-2/+2
| | | corrected formula for n_offset and d_j
* DOC: change version references from x.y to x.y.zPierre de Buyl2016-09-071-1/+1
|
* change all non-code instances of Numpy to NumPyPierre de Buyl2016-09-061-4/+4
| | | | | | | | | Instances remain for NumpyVersion and Numpy.rec.fromarrays that are references to code. Release notes were left unchanged. see issue #7986
* DOC: ndarray typo fixMarshall Ward2016-03-221-1/+1
| | | | Space added to resolve misrendering of monospace (``) delimiters.
* MAINT: Fix typos in docsDongjoon Hyun2016-01-251-1/+1
|
* Fix carriage return inside commented python codeVincent Legoll2015-12-261-2/+2
| | | This looks more conventionnal
* DOC: Remove a reference to __array_priority__.Charles Harris2015-07-011-1/+0
| | | | Also correct its documented default value.
* DOC: Fix list markup in source/reference/arrays.ndarray.rst.Charles Harris2015-07-011-7/+8
| | | | List needs to be preceded by blank line.
* DOC: Remove references to removed setasflat ndarray method.Charles Harris2015-07-011-1/+0
|
* DOC: Document '@' and matmul.Charles Harris2015-06-041-3/+17
| | | | | Document the matmul function and add '@' to the operator section of the reference manual.
* DOC: improve record/structured array nomenclature & guideAllan Haldane2015-01-221-1/+1
| | | | | | | | | | | 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.
* ENH: add tobytes and stop using tostring in documentationJulian Taylor2014-02-111-0/+1
| | | | | | | tostring returns bytes which are not equal to string, so provide a tobytes function alias. tostring does not emit a deprecation warning yet so rdepends do not need to check two names to support older versions of numpy without warnings.
* ENH: add quickselect algorithm and expose it via partitionJulian Taylor2013-08-121-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | A partition sorts the kth element into its sorted order and moves all smaller elements before the kth element and all equal or greater elements behind it. The ordering of all elements in the partitions is undefined. It is implemented via the introselection algorithm which has worst case linear complexity compared to a full sort that has linearithmic complexity. The introselect algorithm uses a quickselect with median of three pivot and falls back to a quickselect with median of median of five pivot if no sufficient progress is made. The pivots used during the search for the wanted kth element can optionally be stored and reused for further partitionings of the array. This is used by the python interface if an array of kth is provided to the partitions function. This improves the performance of median and which need to select two elements if the size of the array is even. A percentile function interpolating between values also profits from this. String selection is implemented in terms of quicksort which has the same properties as a selection for now.
* DOC: Document NPY_RELAXED_STRIDES_CHECKING changesSebastian Berg2013-04-111-3/+41
| | | | | | This includes documentation in the release notes, as well as the reference guide and smaller corrections. Thanks to Nathaniel for major rewriting this.
* ENH: core: Change PyArray_CopyAnyInto and PyArray_MoveAnyInto to use the new ↵Mark Wiebe2011-01-171-0/+1
| | | | | | | | iterator I also found that the tricky case of CopyAnyInto wasn't being triggered by the test suite, so added a new function ndarray.setasflat, which calls CopyAnyInto.
* updated documentation from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-36/+29
|
* second set of checkins from doc editorJarrod Millman2009-11-131-3/+38
|
* Merge from doc wikiPauli Virtanen2009-06-191-16/+21
|
* docs: strip trailing whitespace from RST filesPauli Virtanen2009-03-211-10/+10
|
* numpy.ma.core:pierregm2009-01-131-0/+5
| | | | | | | | | | | * introduced baseclass, sharedmask and hardmask as readonly properties of MaskedArray * docstrings update numpy.ma.extras: * docstring updates docs/reference * introduced maskedarray, maskedarray.baseclass, maskedarray.generic
* Moved numpy-docs under doc/ in the main Numpy trunk.Pauli Virtanen2008-11-231-0/+529