[Numpy-discussion] using NaN, INT_MIN etc in ndarray instead of a masked array
Gary Strangman
strang at nmr.mgh.harvard.edu
Tue Apr 18 10:37:03 EDT 2006
>> Not true. R supports "NA" for all its types except raw bytes.
>> For example:
(snip)
>
> For Boolean values there is "room" for a NA value, but what about arbitrary
> integers. Does R just limit the range of the integer value? That's what I
> meant: "fiddling with special-values" doesn't generalize to all data-types.
In R, I believe NA = -sys.maxint-1
Gary
More information about the NumPy-Discussion
mailing list