Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: Some bugs in squeeze and concatenate found by testing SciPy | Mark Wiebe | 2011-08-27 | 2 | -0/+11 |
| | |||||
* | ENH: missingdata: trying some more functions to see how they treat NAs | Mark Wiebe | 2011-08-27 | 1 | -0/+4 |
| | |||||
* | ENH: missingdata: Add NA support to np.diagonal, change np.diagonal to ↵ | Mark Wiebe | 2011-08-27 | 1 | -11/+4 |
| | | | | always return a view | ||||
* | 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. | ||||
* | ENH: missingdata: Implemented boolean assignment, working with NA masks | Mark Wiebe | 2011-08-27 | 1 | -1/+1 |
| | |||||
* | BUG: loadtxt: There was some extra nesting for subarray dtypes (Ticket #1936) | Mark Wiebe | 2011-08-20 | 2 | -5/+30 |
| | |||||
* | ENH: Add provision for headers and footers to savetxt, fixes ticket 1236. | Paul Anton Letnes | 2011-08-15 | 2 | -4/+57 |
| | | | | | I suggest using a separate keyword argument for structured arrays. It might also be nice to be able to add a manual header. | ||||
* | ENH: Faster asarray_chkfinite | Chris Jordan-Squire | 2011-08-13 | 1 | -2/+1 |
| | |||||
* | BUG: fix failing npyio test under py3k. Thanks to Derek Homeier. Closes #1793. | Ralf Gommers | 2011-08-10 | 2 | -1/+3 |
| | |||||
* | BUG: lib: use Py_TYPE to access ob_type, so it works also on Py3 | Pauli Virtanen | 2011-07-31 | 1 | -7/+8 |
| | |||||
* | ENH: let genfromtxt return empty array for empty input file instead of an error. | Paul Anton Letnes | 2011-07-31 | 2 | -7/+10 |
| | | | | A warning for empty files is issued, including file name. Closes #1793. | ||||
* | Merge branch 'deprecate_array_field_access' | Mark Wiebe | 2011-07-26 | 5 | -93/+112 |
|\ | |||||
| * | STY: Remove trailing whitespace | Mark Wiebe | 2011-07-26 | 2 | -3/+3 |
| | | |||||
| * | ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear | Mark Wiebe | 2011-07-22 | 1 | -1/+1 |
| | | |||||
| * | TST: rec: DType in join_by test was inconsistent | Mark Wiebe | 2011-07-19 | 1 | -2/+3 |
| | | |||||
| * | ENH: core: More cleanups removing direct PyArrayObject field access | Mark Wiebe | 2011-07-19 | 1 | -73/+90 |
| | | |||||
| * | 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 | 3 | -5/+11 |
| | | |||||
* | | BUG: datetime: Various fixes for datetime arrays. | Ben Walsh | 2011-07-19 | 2 | -9/+33 |
|/ | |||||
* | Regression test for missing dtype and order args in asarray_chkfinite | Lars Buitinck | 2011-07-19 | 1 | -0/+6 |
| | |||||
* | BUG: fix asarray_chkfinite to take dtype and order args, as advertised | Lars Buitinck | 2011-07-19 | 1 | -4/+4 |
| | | | | Includes a doctest for dtype. | ||||
* | ENH: Fix some functions to use copyto instead of the deprecated putmask. | Charles Harris | 2011-07-09 | 1 | -7/+7 |
| | |||||
* | 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 | 2 | -6/+74 |
|/ | |||||
* | Merge branch 'datetime-fixes' | Mark Wiebe | 2011-06-07 | 2 | -53/+1 |
|\ | |||||
| * | ENH: Remove 'den' datetime metadata, move datetime_data to a C function | Mark Wiebe | 2011-05-20 | 2 | -53/+1 |
| | | | | | | | | | | | | | | | | | | 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 | 2 | -55/+59 |
|/ | | | | | | 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 | 2 | -7/+24 |
| | |||||
* | changed ndmin option in loadtxt to return shape (1, X.size) for single-row ↵ | Derek Homeier | 2011-05-07 | 2 | -3/+12 |
| | | | | inputs | ||||
* | DOC:BUG: fix percentile examples. Closes #1813. | Ralf Gommers | 2011-04-29 | 1 | -7/+6 |
| | |||||
* | 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 |
| |