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: Fix up some remaining old-style exceptions. | Charles Harris | 2011-04-05 | 3 | -7/+7 |
| | | | | I think that is the end of it. | ||||
* | STY: Fix up some two line old-style exceptions. | Charles Harris | 2011-04-05 | 2 | -4/+4 |
| | |||||
* | STY: Update exception styles, trickier ones. | Charles Harris | 2011-04-05 | 1 | -2/+2 |
| | |||||
* | STY: Update exception style, easy ones. | Charles Harris | 2011-04-05 | 7 | -26/+26 |
| | |||||
* | STY: Replace remaining old style classes with classes subclassing object. | Charles Harris | 2011-04-05 | 1 | -3/+3 |
| | |||||
* | STY: Replace old style classes in tests with classes subclassing object. | Charles Harris | 2011-04-05 | 2 | -4/+4 |
| | |||||
* | BUG: Workaround for the fact the Python 2.4 doesn't accept 'Ub' as a file | Charles Harris | 2011-04-05 | 1 | -1/+1 |
| | | | | | | | | | mode, but does accept 'rbU'. Note that with either of these modes Python 3 fails to split files with '\r' line endings on linux. This is either a bug in Python 3 or something that requires more extensive modifications to genfromtxt. Because genfromtxt now accepts generators it should be possible to write a generator that opens files in text mode and encodes the lines as byte streams, and this should provide a workaround. | ||||
* | BUG: Python 2.4 doesn't accept the construction class foo(): | Charles Harris | 2011-04-05 | 1 | -3/+3 |
| | |||||
* | moved import statement in npyio.py for ease of reading | Paul Anton Letnes | 2011-04-04 | 1 | -1/+1 |
| | |||||
* | BUG: ticket #1071, fix loadtxt to handle tab delimited data with missing | Derek Homeir | 2011-04-04 | 2 | -11/+18 |
| | | | | 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 | 2 | -20/+36 |
| | | | | 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 | 2 | -37/+41 |
| | | | | 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 | 2 | -2/+36 |
| | | | | 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 | 2 | -3/+11 |
| | | | | Thanks to Paul Anton Letnes and Derek Homeier. | ||||
* | TST: add test for ticket #1458. | Charles Harris | 2011-04-02 | 1 | -1/+12 |
| | |||||
* | ENH: ticket #1458, make loadtxt(..., unpack=True) unpack structured array | Derek Homier | 2011-04-02 | 1 | -2/+7 |
| | | | | fields. | ||||
* | BUG: ticket #1428, allow int64 and uint64 integer types to be specified in | Charles Harris | 2011-04-02 | 2 | -2/+24 |
| | | | | genfromtxt. | ||||
* | BUG: ticket #1565, fix conversion of int64 and uint64 types by loadtxt. | Christoph Gohlke | 2011-04-02 | 2 | -0/+20 |
| | | | | Add some tests for these types. | ||||
* | WHT: Cleanup trailing whitespace. | Charles Harris | 2011-04-02 | 5 | -11/+7 |
| | |||||
* | DOC: improve clarity of window function docs. | Ralf Gommers | 2011-04-02 | 1 | -55/+33 |
| | | | | Thanks to Yury Zaytsev for the suggestion. | ||||
* | BUG: handle empty inputs in cov and corrcoef. Closes #1773. | Ralf Gommers | 2011-04-02 | 2 | -1/+21 |
| | |||||
* | BUG: make histogramdd work with infinite size bins. Closes #1788. | Ralf Gommers | 2011-04-01 | 2 | -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 Harris | 2011-03-30 | 2 | -2/+21 |
|\ | | | | | | | into test-genfromtxt-fname | ||||
| * | BUG: open genfromtxt file as binary; add test for filename use | Matthew Brett | 2011-03-30 | 2 | -2/+21 |
| | | |||||
* | | BUG: lib: catch SWIG NameError in lookfor (#1704) | Pauli Virtanen | 2011-03-30 | 1 | -3/+12 |
| | | | | | | | | Thanks to sebhaase for the patch. | ||||
* | | DEP: deprecate normed kw in histogram and restore its old behavior. Introduce | Ralf Gommers | 2011-03-30 | 2 | -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 Gommers | 2011-03-29 | 2 | -2/+16 |
| | |||||
* | ENH: Make all histogram functions work with empty input. | Ralf Gommers | 2011-03-27 | 3 | -13/+31 |
| | |||||
* | DOC: lib: point the reader towards masked arrays when there is missing data | Pauli Virtanen | 2011-03-25 | 1 | -16/+2 |
| | |||||
* | DOC: Add a note about None values in the average documentation (#1180) | Mark Wiebe | 2011-03-25 | 1 | -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 API | Mark Wiebe | 2011-03-14 | 3 | -39/+40 |
| | |||||
* | STY: Rename NPY_ITER_NO_INNER_ITERATION to NPY_ITER_EXTERNAL_LOOP | Mark Wiebe | 2011-03-14 | 1 | -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 Wiebe | 2011-03-13 | 1 | -5/+5 |
| | | | | iterator constructor | ||||
* | 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 | 2 | -54/+1 |
| | |||||
* | DEP: remove deprecated get_numpy_include. | rgommers | 2011-03-11 | 2 | -5/+2 |
| | |||||
* | DEP: remove unique1d, setmember1d and intersect1d_nu. | rgommers | 2011-03-11 | 3 | -183/+5 |
| | |||||
* | DEP: Update deprecation messages in genloadtxt with a version number. | rgommers | 2011-03-11 | 1 | -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 Wiebe | 2011-03-10 | 1 | -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 Harris | 2011-03-07 | 1 | -6/+12 |
| | |||||
* | 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. | ||||
* | DOC: commit some more fixes from the doc wiki. | rgommers | 2011-03-03 | 2 | -13/+15 |
| | |||||
* | 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 |
| | |||||
* | DOC: merge more doc wiki edits. | rgommers | 2011-03-02 | 3 | -13/+40 |
| | |||||
* | TST: update namespace usage in lib.polynomial doctests. | rgommers | 2011-03-01 | 1 | -11/+8 |
| |