Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Remove outdated version checks. | Charles Harris | 2013-07-11 | 31 | -320/+21 |
| | | | | | | | | | | Because Numpy 1.8.0 will no longer supports Python versions < 2.6 we no longer need to check for that and can also remove the code that is specific to those earlier versions. To make this a bit safer, the toplevel setup.py file now contains a check of the Python version number and raises an error when run by an unsupported version. | ||||
* | Merge pull request #3510 from mwtoews/master | Charles Harris | 2013-07-09 | 1 | -0/+12 |
|\ | | | | | Add regression tests for pickleable record arrays | ||||
| * | Add regression tests for pickleable record arrays | mwtoews | 2013-07-09 | 1 | -0/+12 |
| | | |||||
* | | Merge pull request #3501 from inducer/master | Charles Harris | 2013-07-09 | 3 | -0/+63 |
|\ \ | |/ |/| | Fix "numpy scalar * array-like == performance horror" | ||||
| * | BUG: Check earlier for higher priority in binary operators, add test | Andreas Kloeckner | 2013-07-08 | 3 | -0/+63 |
| | | | | | | | | Fixes #3375 | ||||
* | | Merge pull request #3491 from ContinuumIO/astype_fix2 | Charles Harris | 2013-07-08 | 3 | -20/+77 |
|\ \ | | | | | | | Fix creation of string arrays from object types | ||||
| * | | STY: Formatting changes | Jay Bourque | 2013-07-08 | 3 | -18/+13 |
| | | | |||||
| * | | BUG: Fix creation of string arrays from object types | Jay Bourque | 2013-07-08 | 3 | -17/+79 |
| | | | |||||
* | | | Merge pull request #3507 from juliantaylor/vectorize-cmp | Charles Harris | 2013-07-08 | 4 | -2/+238 |
|\ \ \ | | | | | | | | | ENH: vectorize boolean comparisons of floats | ||||
| * | | | ENH: vectorize boolean comparisons of floats | Julian Taylor | 2013-07-08 | 4 | -2/+238 |
|/ / / | | | | | | | | | | | | | | | | the new code will more often propagate the invalid floating point exception if comparing against nan, so allclose now ignores it (but still returns False) | ||||
* | | | Merge pull request #3500 from charris/fix-3592 | njsmith | 2013-07-08 | 2 | -23/+54 |
|\ \ \ | | | | | | | | | Fix exceptions being swallowed by fromiter. | ||||
| * | | | STY: Fix trailing whitespace and replace test doctrings by comments. | Charles Harris | 2013-07-03 | 1 | -13/+13 |
| | | | | |||||
| * | | | BUG: Remove xrange that slipped into test_numeric.py. | Charles Harris | 2013-07-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | TST: Add tests for exceptions raised by fromiter. | Fernando Perez | 2013-07-03 | 1 | -6/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | This improves the testing of the edge cases. Work done with @certik. | ||||
| * | | | BUG: Fix exceptions being swallowed by fromiter. | Fernando Perez | 2013-07-03 | 1 | -10/+17 |
| | |/ | |/| | | | | | | | | | | | | | | | | All exceptions from underlying iterator were being collapsed into a generic one. This allows the original exception to propagate. Closes gh-2592. | ||||
* | | | Merge pull request #3506 from josteinbf/arraypad-padwidth-zero | Charles Harris | 2013-07-07 | 2 | -1/+9 |
|\ \ \ | |/ / |/| | | Allow pad_width of zero in np.pad | ||||
| * | | TST: New test to ensure np.pad allows pad_width of zero. | Jostein Bø Fløystad | 2013-07-05 | 1 | -0/+8 |
| | | | |||||
| * | | BUG: Allow to pad arrays by zero entries. | Jostein Bø Fløystad | 2013-07-05 | 1 | -1/+1 |
|/ / | | | | | | | | | np.pad will now accept a pad_width containing zeros. The functionality was already implemented, but validation of input was too strict. | ||||
* | | Merge pull request #3495 from charris/make-fromroots-return-monic | njsmith | 2013-07-03 | 2 | -3/+15 |
|\ \ | | | | | | | BUG: Fix failure to return monic polynomials from roots. | ||||
| * | | BUG: Fix failure to return monic polynomials from roots. | Charles Harris | 2013-07-02 | 2 | -3/+15 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug affected the various polynomial class methods fromroots due to the ability to specify both window and domain. In that circumstance the roots are mapped from the domain to the window by the substitution `x = off + scl*x`. The polynomial that was being generated was monic in the window before substitution, but if scl was not one it was not monic considered as a function of the variable x in the domain. The fix is to divide the generated coefficients by `scl ** deg` so that the scaling of the highest degree term after substitution is canceled. It might be better to make the scaling optional in the future, but this fix makes the result match the documentation. Closes #3467. | ||||
* | | Merge pull request #3489 from dmuellner/master | Charles Harris | 2013-07-02 | 1 | -7/+7 |
|\ \ | | | | | | | Fix: Documentation bug for PyArray_GETPTR1 | ||||
| * | | Corrected typos in documentation for PyArray_GETPTR1. | Daniel | 2013-07-01 | 1 | -7/+7 |
|/ / | |||||
* | | Merge pull request #2875 from ahojnnes/array-init | njsmith | 2013-06-30 | 3 | -18/+218 |
|\ \ | | | | | | | Add convenience functions nans, infs, nans_like, infs_like | ||||
| * | | Rename filled, filled_like to full, full_like | Johannes Schönberger | 2013-06-30 | 3 | -22/+22 |
| | | | |||||
| * | | Update default dtype of filled function in doc string | Johannes Schönberger | 2013-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Add filled and filled_like to changelog of 1.8.0 | Johannes Schönberger | 2013-06-06 | 1 | -0/+7 |
| | | | |||||
| * | | Rename fill value parameter for consistency across numpy+ | Johannes Schönberger | 2013-06-06 | 2 | -11/+11 |
| | | | |||||
| * | | Add examples to doc string of filled and filled_like | Johannes Schönberger | 2013-06-06 | 1 | -0/+25 |
| | | | |||||
| * | | Add separate parameter description to filled, filled_like and ones | Johannes Schönberger | 2013-06-06 | 1 | -6/+35 |
| | | | |||||
| * | | Fix Python 3 test cases for filled* functions | Johannes Schönberger | 2013-06-06 | 1 | -3/+7 |
| | | | |||||
| * | | Do not compare string or unicode values | Johannes Schönberger | 2013-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Add doc string to creation test class | Johannes Schönberger | 2013-06-06 | 1 | -0/+2 |
| | | | |||||
| * | | Comment test cases | Johannes Schönberger | 2013-06-06 | 1 | -6/+10 |
| | | | |||||
| * | | Add tests for zeros, ones, empty and filled | Johannes Schönberger | 2013-06-06 | 1 | -0/+45 |
| | | | |||||
| * | | Add filled_like to doc string of test class | Johannes Schönberger | 2013-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Use more idiomatic way of None-check | Johannes Schönberger | 2013-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Use commin method to compare array values | Johannes Schönberger | 2013-06-06 | 1 | -40/+16 |
| | | | |||||
| * | | Add tests for filled_like function | Johannes Schönberger | 2013-06-06 | 2 | -21/+54 |
| | | | |||||
| * | | Fix doc string | Johannes Schönberger | 2013-06-06 | 1 | -3/+1 |
| | | | |||||
| * | | Replace nans, nans_like, infs, infs_like with filled functions | Johannes Schönberger | 2013-06-06 | 1 | -93/+15 |
| | | | |||||
| * | | Fix typo in doc string | Johannes Schönberger | 2013-06-06 | 1 | -4/+4 |
| | | | |||||
| * | | Add short note in doc string about dtype for non-numbers | Johannes Schönberger | 2013-06-06 | 1 | -0/+12 |
| | | | |||||
| * | | Add more related functions | Johannes Schönberger | 2013-06-06 | 1 | -0/+5 |
| | | | |||||
| * | | Add nans, infs, nans_like, infs_like convenience functions | Johannes Schönberger | 2013-06-06 | 1 | -1/+139 |
| | | | |||||
* | | | Merge pull request #3461 from charris/fix-load-resource-warning | Charles Harris | 2013-06-29 | 2 | -5/+22 |
|\ \ \ | |_|/ |/| | | BUG: Make np.load transfer file ownership to the returned NpzFile. | ||||
| * | | BUG: Make np.load transfer file ownership to the returned NpzFile. | Charles Harris | 2013-06-22 | 2 | -5/+22 |
| | | | | | | | | | | | | | | | | | | | | | This assures that when the loaded file is closed it also closes the file descriptor, avoiding a resource warning in Python3. Closes #3457. | ||||
* | | | Merge pull request #3483 from HaroldMills/bugfix-binomial | Robert Kern | 2013-06-29 | 3 | -1557/+1608 |
|\ \ \ | | | | | | | | | BUG: numpy.random.binomial raised ValueError for n == 0 | ||||
| * | | | BUG: numpy.random.binomial raised ValueError for n == 0 | HaroldMills | 2013-06-28 | 3 | -1557/+1608 |
| | | | | | | | | | | | | | | | | | | | | | | | | Range test for n was incorrect. Closes #3480 | ||||
* | | | | Merge pull request #3468 from RelentlessIdiot/numpydoc_returns_unnamed | Ralf Gommers | 2013-06-29 | 5 | -26/+82 |
|\ \ \ \ | |/ / / |/| | | | ENH: Allow unnamed return values in Returns section of doc string | ||||
| * | | | ENH: Allow unnamed return values in Returns section of doc string | Rob Ruana | 2013-06-25 | 5 | -26/+82 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developers usually only need the type of a return value followed by a brief description. However, in some cases providing a name for a return value can make the documentation clearer. This enhancement changes the format of the Returns section such that the type is required, and the name is optional: Returns ------- int Description of anonymous integer return value. x : str Description of string return value named `x`. With this change, if a colon is not present, then the entire line is interpreted as the return type. In all other cases, the Returns section is interpreted according to the current rules. Consistent with the current format, if a colon is present, then the text to the left of the colon is interpreted as the name; and the text to the right of the colon is interpreted as the type. This makes the proposed change backwards compatible with existing documentation. |