summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add ndmin keyword to loadtxt. Closes #1562.Ralf Gommers2011-04-032-2/+36
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* ENH: return empty array from loadtxt for an empty file. Closes #1752.Ralf Gommers2011-04-032-3/+11
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* TST: add test for ticket #1458.Charles Harris2011-04-021-1/+12
|
* ENH: ticket #1458, make loadtxt(..., unpack=True) unpack structured arrayDerek Homier2011-04-021-2/+7
| | | | fields.
* BUG: ticket #1428, allow int64 and uint64 integer types to be specified inCharles Harris2011-04-022-2/+24
| | | | genfromtxt.
* BUG: ticket #1565, fix conversion of int64 and uint64 types by loadtxt.Christoph Gohlke2011-04-022-0/+20
| | | | Add some tests for these types.
* WHT: Cleanup trailing whitespace.Charles Harris2011-04-025-11/+7
|
* DOC: improve clarity of window function docs.Ralf Gommers2011-04-021-55/+33
| | | | Thanks to Yury Zaytsev for the suggestion.
* BUG: handle empty inputs in cov and corrcoef. Closes #1773.Ralf Gommers2011-04-022-1/+21
|
* BUG: make histogramdd work with infinite size bins. Closes #1788.Ralf Gommers2011-04-012-7/+48
| | | | | Also add more informative error messages for wrongly specified bins, for both histogram and histogram2d/dd.
* Merge branch 'test-genfromtxt-fname' of git://github.com/matthew-brett/numpy ↵Charles Harris2011-03-302-2/+21
|\ | | | | | | into test-genfromtxt-fname
| * BUG: open genfromtxt file as binary; add test for filename useMatthew Brett2011-03-302-2/+21
| |
* | BUG: lib: catch SWIG NameError in lookfor (#1704)Pauli Virtanen2011-03-301-3/+12
| | | | | | | | Thanks to sebhaase for the patch.
* | DEP: deprecate normed kw in histogram and restore its old behavior. IntroduceRalf Gommers2011-03-302-27/+47
|/ | | | | | | | | | | | | | | density kw. This reverts part of the following commits: 3743430e 400a2a67 3743430e Behavior for normed keyword is again the same as it was in Numpy 1.5. The desired behavior (probability density) is implemented by the new density keyword, which reflects the functionality better than "normed". For a discussion on this issue, see the Numpy mailing list thread started on Aug 6th, 2010.
* BUG: make np.median() work for 0-D arrays. Also add tests. Closes #1747.Ralf Gommers2011-03-292-2/+16
|
* ENH: Make all histogram functions work with empty input.Ralf Gommers2011-03-273-13/+31
|
* DOC: lib: point the reader towards masked arrays when there is missing dataPauli Virtanen2011-03-251-16/+2
|
* DOC: Add a note about None values in the average documentation (#1180)Mark Wiebe2011-03-251-0/+15
| | | | | | | It was suggested in issue #1180 to add an ignore_None= parameter to average, but I think this does not fit cleanly into NumPy, and rather educating users about Python list comprehensions is better. This is an attempt to do that.
* API: Rename 'coords' to 'multi-index' in ravel_coords and iterator APIMark Wiebe2011-03-143-39/+40
|
* STY: Rename NPY_ITER_NO_INNER_ITERATION to NPY_ITER_EXTERNAL_LOOPMark Wiebe2011-03-141-2/+2
| | | | | It's a little bit shorter, and more intuitively expresses what the flag does.
* API: Simplify basic iterator constructors, add 'itershape' to advanced ↵Mark Wiebe2011-03-131-5/+5
| | | | iterator constructor
* TST: fix ResourceWarning under Python 3.2rgommers2011-03-111-0/+1
|
* DEP: remove deprecated np.lib.ufunclike.log2 function.rgommers2011-03-112-54/+1
|
* DEP: remove deprecated get_numpy_include.rgommers2011-03-112-5/+2
|
* DEP: remove unique1d, setmember1d and intersect1d_nu.rgommers2011-03-113-183/+5
|
* DEP: Update deprecation messages in genloadtxt with a version number.rgommers2011-03-111-12/+14
| | | | | Because the docstring was still using `skiprows` explicitly, that keyword can not yet be removed. Should be done for 2.0.
* API: Rename the iterator function pointer types to be more consistent with ↵Mark Wiebe2011-03-101-3/+3
| | | | | | | NumPy convention 'NpyIter_IterNext_Fn' -> 'NpyIter_IterNextFunc *' 'NpyIter_GetCoords_Fn' -> 'NpyIter_GetCoordsFunc *'
* ENH: Use fmax.reduce and fmin.reduce to implement nanmax and nanmin.Charles Harris2011-03-071-6/+12
|
* BUG: Use isnan to test for nan, avoids problems with signed nans.Charles Harris2011-03-071-40/+41
| | | | Replace assert with assert_. Cleanup trailing whitespace.
* DOC: commit some more fixes from the doc wiki.rgommers2011-03-032-13/+15
|
* TST: clean up some ResourceWarnings from python 3.2.rgommers2011-03-023-17/+27
| | | | | Also make the sys.stdout temporary redirection in one of the tests a little more robust. That is still necessary, because np.who is very noisy.
* TST: replace assert with assert_rgommers2011-03-021-15/+15
|
* DOC: merge more doc wiki edits.rgommers2011-03-023-13/+40
|
* TST: update namespace usage in lib.polynomial doctests.rgommers2011-03-011-11/+8
|
* BUG: correct file name in fromregex.rgommers2011-03-011-2/+2
| | | | Thanks to Mattieu Brucher for reporting.
* TYP: Fix typo.Charles Harris2011-02-181-1/+1
|
* BUG: Fix python3k import problem.Charles Harris2011-02-111-1/+1
|
* STY: index_tricks: Improve comments and documentation stringsMark Wiebe2011-02-101-0/+13
|
* ENH: index_tricks: Implement unravel_index and ravel_coords functions in CMark Wiebe2011-02-103-68/+553
|
* ENH: core: Add new GetArrayParamsFromObject API function (fixes #1081)Mark Wiebe2011-02-061-1/+1
| | | | | | | | | This function allows code to query an object's "innate" type and shape, without actually creating a NumPy array out of it. PyArray_FromAny has been changed to use this function, as an assurance that its implementation is correct. This also fixes the known failure in test_regression.py.
* Merge branch 'new_iterator' - new iterator, ufunc update, restore 1.5 ABIMark Wiebe2011-01-283-28/+65
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Iterator - Read doc/neps/new-iterator-ufunc.rst. UFunc Update - Change all ufunc functions to use the new iterator. This replaces the inline buffering with iterator buffering, except for the reductions and generalized ufunc which use updateifcopy at the moment. Also adds out= and order= parameters to all ufuncs. Restore 1.5 ABI - This was done by moving the new type numbers to the end of the type enumeration, and replacing all type promotion code with a table-based approach. The ArrFuncs was restored by putting the new type cast functions into the cast dictionary, originally designed just for custom types. Conflicts: numpy/core/src/multiarray/ctors.c numpy/core/tests/test_regression.py
| * ENH: core: Shuffle type numbers so any new ones go on the end.Mark Wiebe2011-01-251-5/+18
| |
| * ENH: core: Implement PyArray_CopyInto using the new iteratorMark Wiebe2011-01-162-23/+47
| | | | | | | | | | | | | | | | This change also uses the dtype conversion code implemented for new iterator buffering, which differs slightly from the previous casting behavior. In particular, fields are matched up by name instead of position, so code depending on that behavior breaks. The loadtxt function has been fixed to not depend on this casting behavior.
* | ENH: Add minlength keyword to bincount. Patch from ticket #1595.David Warde-Farley2011-01-102-8/+39
|/
* Apply patch by bsouthey in Ticket #1475 to turn off appropriate tests when ↵chanley2010-12-271-1/+8
| | | | | | | ctypes is not installed. This is of particular importance to STScI since this test is breaking our nightly build/test setup.
* BUG: Try fix for python 2.4, use list instead of tuple.Charles Harris2010-12-021-1/+1
|
* TST: Add regression test for ticket #1676.Charles Harris2010-11-241-0/+12
|
* BUG: data shouldn't be an optional argument.Charles Harris2010-11-241-8/+6
|
* BUG: Fix logic in handling of dtype in append_fields.weathergod2010-11-241-2/+4
|
* BUG: Fix GzipFile wrapper to be <= 2.5 compatible.Stefan van der Walt2010-11-231-4/+9
|