summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorpierregm <pierregm@localhost>2008-06-03 21:23:15 +0000
committerpierregm <pierregm@localhost>2008-06-03 21:23:15 +0000
commitb547bbfd9fa94b825bf982ff16977e757b71856b (patch)
treee7241608cc0019aac8412a2d871b31c7aeee3897 /numpy/core/src/arrayobject.c
parent6cdeb7165ac38e5fb5944bccefa7e451d629202f (diff)
downloadnumpy-b547bbfd9fa94b825bf982ff16977e757b71856b.tar.gz
core:
* use the "import numpy as np" convention * use np.function instead of (from)numeric.function * CHANGE : when using named fields, the fill_value is now a void-ndarray (and no longer a tuple) * _check_fill_value now checks that an existing fill_value is compatible with a new dtype (bug #806) * fix_invalid now accepts the mask keyword * MaskedArray.__new__ doesn't run _check_fill_value when the fill_value is None * add the astype method, to support the conversion of fill_value when needed. * arange/empty/empty_like/ones/zeros are now available through _convert2ma test_core: * modified test_filled_value to reflect that fill_value is a void-ndrecord when using named fields * added test_check_fill_value/test_check_fill_value_with_records testutils: * use the "import numpy as np" convention * assert_equal_records now uses getitem instead of getattr * assert_array_compare now calls numpy.testing.utils.assert_array_compare on filled data * the assert_xxx functions now accept the verbose keyword mrecords: * MaskedRecords inherit get_fill_value and set_fill_value from MaskedArray * In filled, force the filling value to be a void-ndarray
Diffstat (limited to 'numpy/core/src/arrayobject.c')
0 files changed, 0 insertions, 0 deletions