summaryrefslogtreecommitdiff
path: root/doc/source/reference/routines.rst
Commit message (Collapse)AuthorAgeFilesLines
* DOC: reorganize user guide a bit + import "tentative numpy tutorial" from wikiPauli Virtanen2015-10-251-0/+2
| | | | | | | | The user guide was missing a quick tutorial --- the basics.* stuff is somewhat too complex already. The "building numpy" instructions also should not be "introductory material".
* DOC: remove obsolete oldnumeric/numarray sections from reference guide.Ralf Gommers2014-04-211-2/+0
| | | | | Also fix a duplicate entry for numpy.testing due to incorrect header underlining.
* Remove maskna API from ndarray, and all (and only) the code supporting itNathaniel J. Smith2012-06-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original masked-NA-NEP branch contained a large number of changes in addition to the core NA support. For example: - ufunc.__call__ support for where= argument - nditer support for arbitrary masks (in support of where=) - ufunc.reduce support for simultaneous reduction over multiple axes - a new "array assignment API" - ndarray.diagonal() returning a view in all cases - bug-fixes in __array_priority__ handling - datetime test changes etc. There's no consensus yet on what should be done with the maskna-related part of this branch, but the rest is generally useful and uncontroversial, so the goal of this branch is to identify exactly which code changes are involved in maskna support. The basic strategy used to create this patch was: - Remove the new masking-related fields from ndarray, so no arrays are masked - Go through and remove all the code that this makes dead/inaccessible/irrelevant, in a largely mechanical fashion. So for example, if I saw 'if (PyArray_HASMASK(a)) { ... }' then that whole block was obviously just dead code if no arrays have masks, and I removed it. Likewise for function arguments like skipna that are useless if there aren't any NAs to skip. This changed the signature of a number of functions that were newly exposed in the numpy public API. I've removed all such functions from the public API, since releasing them with the NA-less signature in 1.7 would create pointless compatibility hassles later if and when we add back the NA-related functionality. Most such functions are removed by this commit; the exception is PyArray_ReduceWrapper, which requires more extensive surgery, and will be handled in followup commits. I also removed the new ndarray.setasflat method. Reason: a comment noted that the only reason this was added was to allow easier testing of one branch of PyArray_CopyAsFlat. That branch is now the main branch, so that isn't an issue. Nonetheless this function is arguably useful, so perhaps it should have remained, but I judged that since numpy's API is already hairier than we would like, it's not a good idea to add extra hair "just in case". (Also AFAICT the test for this method in test_maskna was actually incorrect, as noted here: https://github.com/njsmith/numpyNEP/blob/master/numpyNEP.py so I'm not confident that it ever worked in master, though I haven't had a chance to follow-up on this.) I also removed numpy.count_reduce_items, since without skipna it became trivial. I believe that these are the only exceptions to the "remove dead code" strategy.
* ENH: Add module containing functions for padding n-dimensional arrays.tim cera2012-04-041-22/+23
| | | | | | | | | | | | | The various padding functions are exposed as options to a public 'pad' function. Example: pad(a, 5, mode='mean') Current modes are 'constant', 'edge', 'linear_ramp', 'maximum', 'mean', 'median', 'minimum', 'reflect', 'symmetric', 'wrap', and <function> This commit includes unit tests and doctests and is based on feature request ticket #655.
* DOC: missingdata: Add introductory documentation for NA-masked arraysMark Wiebe2011-08-271-0/+1
|
* ENH: Add the polynomial module to the documentation.Charles Harris2011-06-201-1/+1
| | | | | | | | | | | Also: 1. Note that the polynomial package is preferred over poly1d. 2. Remove deprecation of mapparms in __init__.py as it interferes with the documention of the method of the same name. This is probably safe as it is unlikely to be used yet. 3. Make some improvements to the documentation in polytemplate.
* DOC: datetime-bday: Document the datetime business day functionsMark Wiebe2011-06-141-0/+1
|
* DOC: The nditer exposure wasn't linked correctlyMark Wiebe2011-03-221-1/+0
|
* DOC: Fill in more of the nditer docsMark Wiebe2011-03-161-0/+1
|
* updated documentation from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-0/+10
|
* Many improvements to chararray. Fixes Trac bugs 1199, 856, 855, 1231, 1235, ↵mdroe2009-10-121-0/+1
| | | | 1240, 1241. docstrings, full unit-test coverage, C-based vectorized string operations.
* Merge from the doc wikiPauli Virtanen2009-03-241-0/+1
|
* Moved numpy-docs under doc/ in the main Numpy trunk.Pauli Virtanen2008-11-231-0/+35