[NumPy-Tickets] [NumPy] #1657: np.ma.masked_invalid and precision
NumPy Trac
numpy-tickets@scipy....
Thu Nov 11 12:25:52 CST 2010
#1657: np.ma.masked_invalid and precision
----------------------+-----------------------------------------------------
Reporter: bevanj | Owner: pierregm
Type: defect | Status: new
Priority: high | Milestone: 1.5.1
Component: numpy.ma | Version: 1.5.0
Keywords: |
----------------------+-----------------------------------------------------
Changes (by pierregm):
* priority: normal => high
Comment:
Good job for uncovering this bug, but the situation is actually worse. In
fact, as soon as the mask of the array is not {{{nomask}}}, it cannot be
printed with the given precision.
Internally, the array is cast to a dtype object, and the items that should
be masked are replaced by the string representing a missing value ( by
default, '--'). I need to fix that very soon, probably over this week-end.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1657#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list