summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: enhance meshgrid to generate 3D grids, sparse grids, matrix indexing.Per A. Brodtkorb2011-12-131-0/+18
|
* BUG: Fix polynomial tests.Stefan van der Walt2011-09-141-2/+2
|
* ENH: Add weights and covariance estimate to standard polyfit.Travis E. Oliphant2011-09-131-2/+25
|
* FIX: Make tril/triu return the same dtype as the original array.Fabian Pedregosa2011-08-311-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-Squire2011-08-291-0/+12
|
* ENH: missingdata: Make numpy.all follow the NA && False == False ruleMark Wiebe2011-08-271-2/+2
|
* BUG: Some bugs in squeeze and concatenate found by testing SciPyMark Wiebe2011-08-272-0/+11
|
* ENH: umath: Make sum, prod, any, or functions use the .reduce method directlyMark Wiebe2011-08-271-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 Wiebe2011-08-201-0/+20
|
* ENH: Add provision for headers and footers to savetxt, fixes ticket 1236.Paul Anton Letnes2011-08-151-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 Gommers2011-08-101-0/+1
|
* ENH: let genfromtxt return empty array for empty input file instead of an error.Paul Anton Letnes2011-07-311-5/+6
| | | | A warning for empty files is issued, including file name. Closes #1793.
* Merge branch 'deprecate_array_field_access'Mark Wiebe2011-07-263-18/+20
|\
| * STY: Remove trailing whitespaceMark Wiebe2011-07-261-1/+1
| |
| * TST: rec: DType in join_by test was inconsistentMark Wiebe2011-07-191-2/+3
| |
| * ENH: core: Some fixes, change some tests to not use yieldMark Wiebe2011-07-191-15/+16
| |
* | BUG: fixed histogramdd bug with empty inputs. Closes #1899.David Huard2011-07-242-2/+8
| |
* | BUG: datetime: Various fixes for datetime arrays.Ben Walsh2011-07-191-0/+9
|/
* Regression test for missing dtype and order args in asarray_chkfiniteLars Buitinck2011-07-191-0/+6
|
* Merge branch 'pull-105'Charles Harris2011-07-091-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 Wiebe2011-07-081-12/+12
| |
* | BUG: Fixed bugs in join_by and added testsSkipper Seabold2011-07-081-3/+64
|/
* Merge branch 'datetime-fixes'Mark Wiebe2011-06-071-8/+0
|\
| * ENH: Remove 'den' datetime metadata, move datetime_data to a C functionMark Wiebe2011-05-201-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.rgommers2011-05-291-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 ndminDerek Homeier2011-05-071-2/+16
|
* changed ndmin option in loadtxt to return shape (1, X.size) for single-row ↵Derek Homeier2011-05-071-2/+8
| | | | inputs
* TST: test for different line endings in genfromtxt input file. NoteMatthew Brett2011-04-061-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 ofCharles Harris2011-04-0511-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 Harris2011-04-052-4/+4
|
* BUG: Python 2.4 doesn't accept the construction class foo():Charles Harris2011-04-051-3/+3
|
* BUG: ticket #1071, fix loadtxt to handle tab delimited data with missingDerek Homeir2011-04-041-8/+14
| | | | values in the last column and add test for same.
* ENH: Let genfromtxt accept generators as text sources. Add testCharles Harris2011-04-031-1/+9
| | | | for that case.
* BUG: Fix strings for Python 3k.Charles Harris2011-04-031-1/+1
|
* ENH: ticket #1616, let loadtxt accept generators in additions toCharles Harris2011-04-031-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 Gommers2011-04-031-64/+60
|
* ENH: add ndmin keyword to loadtxt. Closes #1562.Ralf Gommers2011-04-031-0/+17
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* ENH: return empty array from loadtxt for an empty file. Closes #1752.Ralf Gommers2011-04-031-2/+7
| | | | Thanks to Paul Anton Letnes and Derek Homeier.
* TST: add test for ticket #1458.Charles Harris2011-04-021-1/+12
|
* BUG: ticket #1428, allow int64 and uint64 integer types to be specified inCharles Harris2011-04-021-0/+16
| | | | genfromtxt.
* BUG: ticket #1565, fix conversion of int64 and uint64 types by loadtxt.Christoph Gohlke2011-04-021-0/+16
| | | | Add some tests for these types.
* BUG: handle empty inputs in cov and corrcoef. Closes #1773.Ralf Gommers2011-04-021-0/+14
|
* BUG: make histogramdd work with infinite size bins. Closes #1788.Ralf Gommers2011-04-011-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 Harris2011-03-301-1/+20
|\ | | | | | | into test-genfromtxt-fname
| * BUG: open genfromtxt file as binary; add test for filename useMatthew Brett2011-03-301-1/+20
| |
* | DEP: deprecate normed kw in histogram and restore its old behavior. IntroduceRalf Gommers2011-03-301-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 Gommers2011-03-291-0/+11
|
* ENH: Make all histogram functions work with empty input.Ralf Gommers2011-03-272-2/+13
|
* API: Rename 'coords' to 'multi-index' in ravel_coords and iterator APIMark Wiebe2011-03-141-22/+22
|
* TST: fix ResourceWarning under Python 3.2rgommers2011-03-111-0/+1
|