diff options
author | Mark Wiebe <mwiebe@enthought.com> | 2011-07-06 13:35:36 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-07-06 16:24:14 -0600 |
commit | 43b83d611fcfb761bf00a672834fa234764a1a9f (patch) | |
tree | c15298cc22928ed8d4b59bcc1e0f8bd3517fa7e6 /doc | |
parent | e76ddf9d16ad52f4fa054a900541f43e13e8f6e9 (diff) | |
download | numpy-43b83d611fcfb761bf00a672834fa234764a1a9f.tar.gz |
NEP: missing-data: Add "Python API" and "C API" definitions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/neps/missing-data.rst | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/neps/missing-data.rst b/doc/neps/missing-data.rst index cefd0a9d0..d006d0a62 100644 --- a/doc/neps/missing-data.rst +++ b/doc/neps/missing-data.rst @@ -171,7 +171,8 @@ NA (Not Available) A placeholder for a value which is unknown to computations. That value may be temporarily hidden with a mask, may have been lost due to hard drive corruption, or gone for any number of reasons. - This is the same as NA in the R project. + For sums and products this means to produce NA if any of the inputs + are NA. This is the same as NA in the R project. IGNORE (Skip/Ignore) A placeholder which should be treated by computations as if no value does @@ -194,6 +195,17 @@ numpy.ma The existing implementation of a particular form of masked arrays, which is part of the NumPy codebase. +Python API + All the interface mechanisms that are exposed to Python code + for using missing values in NumPy. This API is designed to be + Pythonic and fit into the way NumPy works as much as possible. + +C API + All the implementation mechanisms exposed for CPython extensions + written in C that want to support NumPy missing value support. + This API is designed to be as natural as possible in C, and + is usually prioritizes flexibility and high performance. + ******************************** Missing Values as Seen in Python ******************************** |