Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | TST: test for different line endings in genfromtxt input file. Note | Matthew Brett | 2011-04-06 | 1 | -25/+27 | |
| | | | | | that the test for '\r' is skipped for python 3k since it is known to fail. | |||||
* | STY: Replace assert by assert_ in tests. There remain 124 uses of | Charles Harris | 2011-04-05 | 11 | -77/+78 | |
| | | | | assert in non-testing files that should be checked for correctness. | |||||
* | STY: Replace old style classes in tests with classes subclassing object. | Charles Harris | 2011-04-05 | 2 | -4/+4 | |
| | ||||||
* | BUG: Python 2.4 doesn't accept the construction class foo(): | Charles Harris | 2011-04-05 | 1 | -3/+3 | |
| | ||||||
* | BUG: ticket #1071, fix loadtxt to handle tab delimited data with missing | Derek Homeir | 2011-04-04 | 1 | -8/+14 | |
| | | | | values in the last column and add test for same. | |||||
* | ENH: Let genfromtxt accept generators as text sources. Add test | Charles Harris | 2011-04-03 | 1 | -1/+9 | |
| | | | | for that case. | |||||
* | BUG: Fix strings for Python 3k. | Charles Harris | 2011-04-03 | 1 | -1/+1 | |
| | ||||||
* | ENH: ticket #1616, let loadtxt accept generators in additions to | Charles Harris | 2011-04-03 | 1 | -0/+7 | |
| | | | | file names and file like objects. Add test for for new functionality. | |||||
* | BUG: fix test issues in test_twodim_base.py. Simplify and make tests run. | Ralf Gommers | 2011-04-03 | 1 | -64/+60 | |
| | ||||||
* | ENH: add ndmin keyword to loadtxt. Closes #1562. | Ralf Gommers | 2011-04-03 | 1 | -0/+17 | |
| | | | | Thanks to Paul Anton Letnes and Derek Homeier. | |||||
* | ENH: return empty array from loadtxt for an empty file. Closes #1752. | Ralf Gommers | 2011-04-03 | 1 | -2/+7 | |
| | | | | Thanks to Paul Anton Letnes and Derek Homeier. | |||||
* | TST: add test for ticket #1458. | Charles Harris | 2011-04-02 | 1 | -1/+12 | |
| | ||||||
* | BUG: ticket #1428, allow int64 and uint64 integer types to be specified in | Charles Harris | 2011-04-02 | 1 | -0/+16 | |
| | | | | genfromtxt. | |||||
* | BUG: ticket #1565, fix conversion of int64 and uint64 types by loadtxt. | Christoph Gohlke | 2011-04-02 | 1 | -0/+16 | |
| | | | | Add some tests for these types. | |||||
* | BUG: handle empty inputs in cov and corrcoef. Closes #1773. | Ralf Gommers | 2011-04-02 | 1 | -0/+14 | |
| | ||||||
* | BUG: make histogramdd work with infinite size bins. Closes #1788. | Ralf Gommers | 2011-04-01 | 1 | -0/+25 | |
| | | | | | 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 Harris | 2011-03-30 | 1 | -1/+20 | |
|\ | | | | | | | into test-genfromtxt-fname | |||||
| * | BUG: open genfromtxt file as binary; add test for filename use | Matthew Brett | 2011-03-30 | 1 | -1/+20 | |
| | | ||||||
* | | DEP: deprecate normed kw in histogram and restore its old behavior. Introduce | Ralf Gommers | 2011-03-30 | 1 | -8/+19 | |
|/ | | | | | | | | | | | | | | | 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 Gommers | 2011-03-29 | 1 | -0/+11 | |
| | ||||||
* | ENH: Make all histogram functions work with empty input. | Ralf Gommers | 2011-03-27 | 2 | -2/+13 | |
| | ||||||
* | API: Rename 'coords' to 'multi-index' in ravel_coords and iterator API | Mark Wiebe | 2011-03-14 | 1 | -22/+22 | |
| | ||||||
* | TST: fix ResourceWarning under Python 3.2 | rgommers | 2011-03-11 | 1 | -0/+1 | |
| | ||||||
* | DEP: remove deprecated np.lib.ufunclike.log2 function. | rgommers | 2011-03-11 | 1 | -12/+1 | |
| | ||||||
* | DEP: remove deprecated get_numpy_include. | rgommers | 2011-03-11 | 1 | -3/+1 | |
| | ||||||
* | DEP: remove unique1d, setmember1d and intersect1d_nu. | rgommers | 2011-03-11 | 1 | -42/+3 | |
| | ||||||
* | BUG: Use isnan to test for nan, avoids problems with signed nans. | Charles Harris | 2011-03-07 | 1 | -40/+41 | |
| | | | | Replace assert with assert_. Cleanup trailing whitespace. | |||||
* | TST: clean up some ResourceWarnings from python 3.2. | rgommers | 2011-03-02 | 3 | -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_ | rgommers | 2011-03-02 | 1 | -15/+15 | |
| | ||||||
* | TST: update namespace usage in lib.polynomial doctests. | rgommers | 2011-03-01 | 1 | -11/+8 | |
| | ||||||
* | ENH: index_tricks: Implement unravel_index and ravel_coords functions in C | Mark Wiebe | 2011-02-10 | 1 | -5/+62 | |
| | ||||||
* | ENH: core: Add new GetArrayParamsFromObject API function (fixes #1081) | Mark Wiebe | 2011-02-06 | 1 | -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 ABI | Mark Wiebe | 2011-01-28 | 2 | -6/+27 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Wiebe | 2011-01-25 | 1 | -5/+18 | |
| | | ||||||
| * | ENH: core: Implement PyArray_CopyInto using the new iterator | Mark Wiebe | 2011-01-16 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | 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-Farley | 2011-01-10 | 1 | -0/+15 | |
|/ | ||||||
* | Apply patch by bsouthey in Ticket #1475 to turn off appropriate tests when ↵ | chanley | 2010-12-27 | 1 | -1/+8 | |
| | | | | | | | ctypes is not installed. This is of particular importance to STScI since this test is breaking our nightly build/test setup. | |||||
* | TST: Add regression test for ticket #1676. | Charles Harris | 2010-11-24 | 1 | -0/+12 | |
| | ||||||
* | genfromtxt: Taking more adequate testing values when updating converters: ↵ | pierregm | 2010-11-13 | 1 | -0/+9 | |
| | | | | bug #1665 | |||||
* | Fix bug #1656 | pierregm | 2010-11-13 | 1 | -0/+7 | |
| | ||||||
* | Fixing genfromtxt: names w/ usecols (bug #1636) | pierregm | 2010-11-13 | 1 | -0/+21 | |
| | ||||||
* | TST: remove a failing doctest for poly1d. | rgommers | 2010-10-17 | 1 | -3/+0 | |
| | | | | | | | The failure only occurs on Windows and Python 2.5, there the printing of floating point numbers is slightly different. Since this is a doctest and can not be marked conditionally as knownfail, just removing it is simplest. It's not a bug anyway. | |||||
* | BUG: lib: clean up ancient-Python era stuff from IndexExpression (#1196) | Pauli Virtanen | 2010-10-11 | 1 | -1/+14 | |
| | ||||||
* | * fixed the behavior of {{{skip_footer}}} in {{{genfromtxt}}} when some ↵ | pierregm | 2010-09-13 | 1 | -1/+24 | |
| | | | | invalid lines are present (bug #1593) | |||||
* | * fixed 'flatten_dtype' to support fields w/ titles (bug #1591). Thx to ↵ | pierregm | 2010-09-13 | 1 | -11/+33 | |
| | | | | | | Stefan vdW for the fix. * added a unittest for flatten_dtype | |||||
* | Made sure the warning filters in test_function_base and test_arraysetops do ↵ | dhuard | 2010-08-31 | 2 | -14/+18 | |
| | | | | not modify user defined filters. | |||||
* | added a warning concerning the buggy normalization in histogram with ↵ | dhuard | 2010-08-30 | 1 | -1/+4 | |
| | | | | non-uniform bin widths | |||||
* | Fixed bug in histogram for non-uniform bin widths and normed=True. | dhuard | 2010-08-27 | 1 | -7/+24 | |
| | ||||||
* | BUG: Fix missing 'self' in test cleanups. | Charles Harris | 2010-08-10 | 1 | -2/+2 | |
| | ||||||
* | ENH: Add some tests for ticket #1579. Do some cleanups. | Charles Harris | 2010-08-10 | 1 | -69/+88 | |
| |