From d9f28a0b6811ca33f5938e9d0e6dffd16ba453e9 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Thu, 19 Nov 2009 22:58:53 +0000 Subject: doc: rewrite latex-offending markup --- doc/source/user/basics.io.genfromtxt.rst | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'doc/source/user') diff --git a/doc/source/user/basics.io.genfromtxt.rst b/doc/source/user/basics.io.genfromtxt.rst index 28130b311..814ba520a 100644 --- a/doc/source/user/basics.io.genfromtxt.rst +++ b/doc/source/user/basics.io.genfromtxt.rst @@ -378,19 +378,15 @@ The :keyword:`missing_values` argument accepts three kind of values: We know how to recognize missing data, but we still need to provide a value for these missing entries. By default, this value is determined from the expected dtype according to this table: -+---------------+-------------+ -+ Expected type + Default + -+---------------+-------------+ -+ ``bool`` + ``False``+ -+---------------+-------------+ -+ ``int`` + ``-1`` + -+---------------+-------------+ -+ ``float`` + ``np.nan`` + -+---------------+-------------+ -+ ``complex`` +``np.nan+0j``+ -+---------------+-------------+ -+ ``string`` + ``'???'`` + -+---------------+-------------+ +============= ============== +Expected type Default +============= ============== +``bool`` ``False`` +``int`` ``-1`` +``float`` ``np.nan`` +``complex`` ``np.nan+0j`` +``string`` ``'???'`` +============= ============== We can get a finer control on the conversion of missing values with the :keyword:`filling_values` optional argument. Like :keyword:`missing_values`, this argument accepts different kind of values: @@ -425,7 +421,6 @@ To do that, we just have to set the optional argument :keyword:`usemask` to ``Tr The output array will then be a :class:`~numpy.ma.MaskedArray`. - .. unpack=None, loose=True, invalid_raise=True) -- cgit v1.2.1