Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #245 from jseabold/digitize-open-right | Travis E. Oliphant | 2012-04-04 | 1 | -2/+25 | |
|\ \ | | | | | | | ENH: Give digitize left or right open interval option | |||||
| * | | TST: Add namespaces to digitize tests + one more test | Skipper Seabold | 2012-04-03 | 1 | -9/+17 | |
| | | | ||||||
| * | | ENH: Give digitize left or right open interval option | Skipper Seabold | 2012-04-03 | 1 | -0/+15 | |
| | | | ||||||
* | | | ENH: Add module containing functions for padding n-dimensional arrays. | tim cera | 2012-04-04 | 1 | -0/+530 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | STY: Style cleanups in numpy/lib/tests/test_function_base. | Charles Harris | 2012-04-01 | 1 | -240/+245 | |
| | | | | | | | | | | Make imports from numpy.testing explicit. Use np namespace. | |||||
* | | ENH: improve interp() speed in some cases. | Timo Kluck | 2012-04-01 | 1 | -0/+5 | |
| | | | | | | | | | | | | The interp function was computing slopes for all intervals, even when there were only a few points to be interpolated. Now it only does so when the number of interpolation points exceeds the number of sample points. | |||||
* | | TST: fix string comparison test failures on Windows for Python 2.5. | Ralf Gommers | 2012-03-07 | 1 | -3/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is caused by the inconsistent floating point handling of Python itself. On Windows with 2.5: >>> "%s" % 1e-6 '1e-006' With 2.6: >>> "%s" % 1e-6 '1e-06' Reviewed as PR-225. | |||||
* | | ENH: Allow bincount to accept empty arrays. | Skipper Seabold | 2012-03-04 | 2 | -4/+11 | |
| | | ||||||
* | | TST: filter one more printed warning. | Ralf Gommers | 2012-03-02 | 1 | -3/+12 | |
| | | | | | | | | | | This one wasn't actually converted to a test error, because it's not a RuntimeWarning. Maybe need to add an option to raise on UserWarning too. | |||||
* | | TST: filter RuntimeWarnings for invalids from some more test files. | Ralf Gommers | 2012-03-02 | 1 | -8/+12 | |
| | | | | | | | | This should fix the test errors seen on both MinGW and MSVC9 related to this. | |||||
* | | ENH: lib: break reference cycle in NpzFile (#2048) | Pauli Virtanen | 2012-02-16 | 1 | -0/+15 | |
| | | | | | | | | | | This allows these objects to be freed by refcount, rather than requiring the gc, which can be useful in some situations. | |||||
* | | Added ipmt (interest portion of payment) and ppmt (principal portion of ↵ | tim cera | 2012-02-12 | 1 | -9/+6 | |
| | | | | | | | | payment) functions. Added doctests and unit tests. | |||||
* | | BUG: Fix improper usage of warning filters in the tests | Mark Wiebe | 2012-02-08 | 1 | -30/+46 | |
| | | ||||||
* | | TST: Test gradient(...) of datetime64 and timedelta64 arrays. | Ben Root | 2012-01-27 | 1 | -1/+19 | |
| | | ||||||
* | | BUG: savetxt now handles complex arrays. Closes #1573. | Paul Anton Letnes | 2011-12-28 | 1 | -0/+33 | |
|/ | ||||||
* | BUG: Fix polynomial tests. | Stefan van der Walt | 2011-09-14 | 1 | -2/+2 | |
| | ||||||
* | ENH: Add weights and covariance estimate to standard polyfit. | Travis E. Oliphant | 2011-09-13 | 1 | -2/+25 | |
| | ||||||
* | FIX: Make tril/triu return the same dtype as the original array. | Fabian Pedregosa | 2011-08-31 | 1 | -0/+12 | |
| | | | | | | | This should fix: * http://projects.scipy.org/numpy/ticket/1848 * http://projects.scipy.org/scipy/ticket/1449 | |||||
* | ENH: Add function for adding docstrings to ufuncs. | Chris Jordan-Squire | 2011-08-29 | 1 | -0/+12 | |
| | ||||||
* | ENH: missingdata: Make numpy.all follow the NA && False == False rule | Mark Wiebe | 2011-08-27 | 1 | -2/+2 | |
| | ||||||
* | BUG: Some bugs in squeeze and concatenate found by testing SciPy | Mark Wiebe | 2011-08-27 | 2 | -0/+11 | |
| | ||||||
* | ENH: umath: Make sum, prod, any, or functions use the .reduce method directly | Mark Wiebe | 2011-08-27 | 1 | -1/+1 | |
| | | | | | | | | | | | This required some extensive changes, like: * Making logical_or, logical_and, and logical_not on object arrays behave like their Python equivalents instead of calling methods on the objects * Changing the units for a fair number of the binary operations to None, so they don't get initialized to their unit values at the start A consequence of this is that multi-dimensional reductions like sum, prod, any, or all no longer need to make copies, so are faster in some cases. | |||||
* | BUG: loadtxt: There was some extra nesting for subarray dtypes (Ticket #1936) | Mark Wiebe | 2011-08-20 | 1 | -0/+20 | |
| | ||||||
* | ENH: Add provision for headers and footers to savetxt, fixes ticket 1236. | Paul Anton Letnes | 2011-08-15 | 1 | -0/+35 | |
| | | | | | I suggest using a separate keyword argument for structured arrays. It might also be nice to be able to add a manual header. | |||||
* | BUG: fix failing npyio test under py3k. Thanks to Derek Homeier. Closes #1793. | Ralf Gommers | 2011-08-10 | 1 | -0/+1 | |
| | ||||||
* | ENH: let genfromtxt return empty array for empty input file instead of an error. | Paul Anton Letnes | 2011-07-31 | 1 | -5/+6 | |
| | | | | A warning for empty files is issued, including file name. Closes #1793. | |||||
* | Merge branch 'deprecate_array_field_access' | Mark Wiebe | 2011-07-26 | 3 | -18/+20 | |
|\ | ||||||
| * | STY: Remove trailing whitespace | Mark Wiebe | 2011-07-26 | 1 | -1/+1 | |
| | | ||||||
| * | TST: rec: DType in join_by test was inconsistent | Mark Wiebe | 2011-07-19 | 1 | -2/+3 | |
| | | ||||||
| * | ENH: core: Some fixes, change some tests to not use yield | Mark Wiebe | 2011-07-19 | 1 | -15/+16 | |
| | | ||||||
* | | BUG: fixed histogramdd bug with empty inputs. Closes #1899. | David Huard | 2011-07-24 | 2 | -2/+8 | |
| | | ||||||
* | | BUG: datetime: Various fixes for datetime arrays. | Ben Walsh | 2011-07-19 | 1 | -0/+9 | |
|/ | ||||||
* | Regression test for missing dtype and order args in asarray_chkfinite | Lars Buitinck | 2011-07-19 | 1 | -0/+6 | |
| | ||||||
* | Merge branch 'pull-105' | Charles Harris | 2011-07-09 | 1 | -12/+12 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-105: STY: Put spaces around the '&' and '|' operators. STY: Fix 'copy' 'copyto' typo and remove some trailing whitespace. ENH: Use np.copyto instead of np.fill in some places ENH: core: Add np.copyto, PyArray_MaskedMoveInto, PyArray_MaskedCopyInto ENH: core: Add support for masked strided transfer functions NEP: missingdata: Add a small note about single NA vs multi-NA NEP: missingdata: Describe a possible way multi-NA could be added in the future NEP: missingdata: Change the mask definition STY: Some small stylistic changes ENH: nditer: Add the basic checking and input of the MASK-related flags NEP: missingdata: Design the mask binary format so it's extensible with a payload DEP: core: Move 'fortran' macro into the deprecated header ENH: nditer: Add the per-operand masked iteration flags WRN: Get rid of some of the deprecation warnings about 'O4' DEP: core: Move NPY_AO into the deprecated API header | |||||
| * | WRN: Get rid of some of the deprecation warnings about 'O4' | Mark Wiebe | 2011-07-08 | 1 | -12/+12 | |
| | | ||||||
* | | BUG: Fixed bugs in join_by and added tests | Skipper Seabold | 2011-07-08 | 1 | -3/+64 | |
|/ | ||||||
* | Merge branch 'datetime-fixes' | Mark Wiebe | 2011-06-07 | 1 | -8/+0 | |
|\ | ||||||
| * | ENH: Remove 'den' datetime metadata, move datetime_data to a C function | Mark Wiebe | 2011-05-20 | 1 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | The 'den' metadata was always 1, except during construction, so there is no reason for it to exist. The variable is kept in the struct for 1.6 ABI compatibility, however. The datetime_data function used ctypes. Moving the function to C is no more difficult, and a bit cleaner in my opinion. | |||||
* | | ENH: speed up in1d() in the case of ar1 >> ar2. Closes #1603. | rgommers | 2011-05-29 | 1 | -53/+49 | |
|/ | | | | | | A timing script justifying the switching criterion is attached to ticket 1603. Thanks to Neil Crighton. | |||||
* | use np.atleast_Nd() to boost dimensions to ndmin | Derek Homeier | 2011-05-07 | 1 | -2/+16 | |
| | ||||||
* | changed ndmin option in loadtxt to return shape (1, X.size) for single-row ↵ | Derek Homeier | 2011-05-07 | 1 | -2/+8 | |
| | | | | inputs | |||||
* | 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 | |
| |