From cc326304a60c35d38dc29adf2544a29d6dcedfee Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Thu, 25 Aug 2011 21:47:27 -0700 Subject: ENH: missingdata: Make numpy.all follow the NA && False == False rule --- doc/neps/missing-data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/neps/missing-data.rst b/doc/neps/missing-data.rst index 51b02e6ab..6efdf0fa1 100644 --- a/doc/neps/missing-data.rst +++ b/doc/neps/missing-data.rst @@ -240,7 +240,7 @@ NA dtype versions respectively. The np.NA singleton may accept a dtype= keyword parameter, indicating that it should be treated as an NA of a particular data type. This is also a mechanism for preserving the dtype in a NumPy scalar-like fashion. -Here's what this could look like:: +Here's what this looks like:: >>> np.sum(np.array([1.0, 2.0, np.NA, 7.0], maskna=True)) NA(dtype='