Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOC: update language of C-API deprecations. | Travis E. Oliphant | 2012-07-17 | 1 | -5/+7 |
| | |||||
* | Fix-up deprecations language. | Travis E. Oliphant | 2012-07-11 | 1 | -5/+13 |
| | |||||
* | Fix the deprecations language. | Travis E. Oliphant | 2012-07-11 | 1 | -19/+19 |
| | |||||
* | Remove maskna API from ndarray, and all (and only) the code supporting it | Nathaniel J. Smith | 2012-06-16 | 7 | -1043/+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. | ||||
* | Stress that all array creation C functions steals a reference to descr. | Francesc Alted | 2012-05-04 | 1 | -0/+4 |
| | |||||
* | DOC: Add a section documenting 1.6/1.7 datetime64 differences | Mark Wiebe | 2012-05-01 | 1 | -0/+127 |
| | |||||
* | DOC: Update documentation and release notes about C-API deprecations | Mark Wiebe | 2012-04-06 | 2 | -0/+52 |
| | |||||
* | ENH: Add module containing functions for padding n-dimensional arrays. | tim cera | 2012-04-04 | 2 | -22/+32 |
| | | | | | | | | | | | | | 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: label datetime support as experimental. Closes #2072. | Ralf Gommers | 2012-03-30 | 1 | -0/+3 |
| | |||||
* | DOC: label the current NA implementation as experimental in 1.7.x | Ralf Gommers | 2012-03-30 | 1 | -0/+5 |
| | | | | This has been extensively discussed on the mailing list. See #2072. | ||||
* | DOC: merge wiki doc edits. | Ralf Gommers | 2012-03-03 | 2 | -5/+4 |
| | |||||
* | DOC: Replace references to macros in old_defines with new. | Charles Harris | 2012-02-04 | 2 | -16/+16 |
| | | | | | Also remove swig support for numpy < 1 from numpy.i since it expects the old macros. | ||||
* | DOC: Improve numpy reference documentation of polynomial classes. | Charles Harris | 2012-01-09 | 3 | -16/+26 |
| | | | | | Add more explanation of what happens in polynomial substitution and also of its use in casting between types. Clean up some rst glitches. | ||||
* | DOC: Document the use of the polynomial convenience classes. | Charles Harris | 2012-01-09 | 1 | -10/+337 |
| | |||||
* | DOC: Lower toc number of levels. | Charles Harris | 2012-01-09 | 1 | -1/+1 |
| | |||||
* | DOC: Add version added to some of the polynomial package modules. | Charles Harris | 2012-01-09 | 7 | -0/+14 |
| | |||||
* | BUG: Fix up links to classes. | Charles Harris | 2012-01-09 | 6 | -12/+11 |
| | | | | | The Sphinx markup was incorrect the documentation to the polynomial convenience classes wasn't being generated. | ||||
* | DOC: Rearrange the polynomial documents. | Charles Harris | 2012-01-09 | 9 | -14/+567 |
| | | | | | This is the first step in cleaning up the polynomial documentation and writing an instructional section on the convenience classes. | ||||
* | FIX: Changed named to choice, reverted other changes. | Chris Jordan-Squire | 2011-12-17 | 1 | -0/+3 |
| | |||||
* | ENH: New sample function, bugs in tests fixed | Chris Jordan-Squire | 2011-12-16 | 1 | -0/+1 |
| | |||||
* | ENH: missingdata: Make PyArray_Converter and PyArray_OutputConverter safer ↵ | Mark Wiebe | 2011-08-27 | 3 | -4/+28 |
| | | | | | | | | for legacy code These functions now reject inputs with NA, and there are alternative functions PyArray_AllowNAConverter and PyArray_OutputAllowNAConverter that functions should use when they intend to support NA. | ||||
* | DOC: missingdata: Add a mention of the design NEP, and masks vs bitpatterns | Mark Wiebe | 2011-08-27 | 1 | -0/+8 |
| | |||||
* | DOC: missingdata: Updates from pull request feedback | Mark Wiebe | 2011-08-27 | 2 | -22/+28 |
| | | | | From Chris Jordan-Squire | ||||
* | DOC: missingdata: Updates based on pull request feedback | Mark Wiebe | 2011-08-27 | 1 | -10/+34 |
| | | | | From github users xscript and 87. | ||||
* | DOC: missingdata: Also show what assigning a non-NA value does in each case | Mark Wiebe | 2011-08-27 | 1 | -0/+23 |
| | | | | Thanks to chebee7i for the feedback | ||||
* | DOC: missingdata: Add introductory documentation for NA-masked arrays | Mark Wiebe | 2011-08-27 | 4 | -0/+253 |
| | |||||
* | DOC: missingdata: Some tweaks to the NA mask documentation | Mark Wiebe | 2011-08-27 | 1 | -17/+29 |
| | |||||
* | DOC: missingdata: Add example of a C-API function supporting NA masks | Mark Wiebe | 2011-08-27 | 4 | -55/+387 |
| | |||||
* | DOC: missingdata: Documenting C API for NA-masked arrays | Mark Wiebe | 2011-08-27 | 3 | -0/+240 |
| | |||||
* | DOC: nditer: Document NpyIter_IsFirstVisit function | Mark Wiebe | 2011-08-27 | 1 | -0/+22 |
| | |||||
* | ENH: missingdata: Create count_reduce_items function | Mark Wiebe | 2011-08-27 | 1 | -0/+1 |
| | | | | | | | This function either cheaply returns the product of the sizes of all the reduction axes, or counts the number of items which will be used in a reduction operation when skipna is True. Its purpose is to make it easy to do functions like np.mean and np.std. | ||||
* | ENH: missingdata: Rewrite PyArray_Concatenate to work with NA masks | Mark Wiebe | 2011-08-27 | 1 | -12/+14 |
| | | | | | It should also have less memory usage for heterogeneous inputs, because it no longer makes extra copies in that case. | ||||
* | DOC: missingdata: Add some NA mask info to the documentation | Mark Wiebe | 2011-08-27 | 2 | -50/+214 |
| | |||||
* | DOC: nditer: Add details about why 'readonly' is the operand default | Mark Wiebe | 2011-08-25 | 1 | -1/+5 |
| | |||||
* | DOC: nditer: Tweaks to the tutorial based on feedback from Chris | Mark Wiebe | 2011-08-25 | 1 | -25/+31 |
| | |||||
* | DOC: nditer: Add links to the nditer introductory doc to make it more ↵ | Mark Wiebe | 2011-08-25 | 2 | -1/+6 |
| | | | | discoverable | ||||
* | DOC: nditer: Finish up the nditer walkthrough with a Cython example | Mark Wiebe | 2011-08-25 | 2 | -37/+185 |
| | |||||
* | DOC: nditer: Add tutorial-style material covering more than one operand | Mark Wiebe | 2011-08-25 | 1 | -15/+243 |
| | |||||
* | DOC: nditer: Write tutorial-style introduction covering single-array iteration | Mark Wiebe | 2011-08-25 | 1 | -0/+329 |
| | |||||
* | DOCS: New ufunc creation docs | Chris Jordan-Squire | 2011-08-22 | 1 | -2/+2 |
| | |||||
* | Merge branch 'deprecate_array_field_access' | Mark Wiebe | 2011-07-26 | 1 | -1/+26 |
|\ | |||||
| * | DOC: core: Document the PyArray_SetBaseObject function | Mark Wiebe | 2011-07-22 | 1 | -1/+26 |
| | | |||||
* | | DOC: datetime: Update the docs to reflect busday_count change | Mark Wiebe | 2011-07-19 | 1 | -2/+1 |
| | | |||||
* | | DOC: datetime: hyperlink busday_count and is_busday functions in datetime doc | Mark Wiebe | 2011-07-19 | 1 | -2/+2 |
| | | |||||
* | | DOC: datetime: Add additional tutorial information. | Steve R. Hastings | 2011-07-19 | 1 | -27/+95 |
|/ | |||||
* | DOC: fix build issues (with latex or newest sphinx) | Pauli Virtanen | 2011-07-15 | 1 | -11/+7 |
| | |||||
* | DOC: core: Document the mask-based nditer flags and new inline mask functions | Mark Wiebe | 2011-07-11 | 3 | -10/+249 |
| | |||||
* | ENH: core: Add np.copyto, PyArray_MaskedMoveInto, PyArray_MaskedCopyInto | Mark Wiebe | 2011-07-08 | 2 | -0/+15 |
| | | | | | | | | These functions expose masked copying routines, with and without handling of overlapping data. Also deprecated the np.putmask and PyArray_PutMask functions, because np.copyto supercedes their functionality. This will need to be discussed on the list during the pull request review. | ||||
* | DOC: c-api: Update to reflect array flag namespace change | Mark Wiebe | 2011-07-06 | 3 | -144/+149 |
| | |||||
* | DOC: Document the ufunc 'where=' parameter and the NpyAuxData C API mechanism | Mark Wiebe | 2011-07-06 | 2 | -0/+99 |
| |