diff options
author | mdroe <mdroe@localhost> | 2009-10-12 15:24:43 +0000 |
---|---|---|
committer | mdroe <mdroe@localhost> | 2009-10-12 15:24:43 +0000 |
commit | 7deb4d5db4282e1e1c860dda268a21c6979e9725 (patch) | |
tree | 6dbd07a1dfcec326ce90228c17cbdd337f4f1621 /doc/source/reference/arrays.classes.rst | |
parent | 66c62a8aeed8c963e2ef108685d5681e1e445f3d (diff) | |
download | numpy-7deb4d5db4282e1e1c860dda268a21c6979e9725.tar.gz |
Many improvements to chararray. Fixes Trac bugs 1199, 856, 855, 1231, 1235, 1240, 1241. docstrings, full unit-test coverage, C-based vectorized string operations.
Diffstat (limited to 'doc/source/reference/arrays.classes.rst')
-rw-r--r-- | doc/source/reference/arrays.classes.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/source/reference/arrays.classes.rst b/doc/source/reference/arrays.classes.rst index 9e94d5c4d..6d5e7bde0 100644 --- a/doc/source/reference/arrays.classes.rst +++ b/doc/source/reference/arrays.classes.rst @@ -228,11 +228,12 @@ Character arrays (:mod:`numpy.char`) single: character arrays .. note:: - The chararray module exists for backwards compatibility with Numarray, - it is not recommended for new development. If one needs arrays of - strings, use arrays of `dtype` object. + The chararray module exists for backwards compatibility with + Numarray, it is not recommended for new development. If one needs + arrays of strings, use arrays of `dtype` `object_`, `string_` or + `unicode_`. -These are enhanced arrays of either :class:`string` type or +These are enhanced arrays of either :class:`string_` type or :class:`unicode_` type. These arrays inherit from the :class:`ndarray`, but specially-define the operations ``+``, ``*``, and ``%`` on a (broadcasting) element-by-element basis. These @@ -244,7 +245,7 @@ to create a chararray is to use :meth:`self.view(chararray) <ndarray.view>` where *self* is an ndarray of string or unicode data-type. However, a chararray can also be created using the :meth:`numpy.chararray` constructor, or via the -:func:`numpy.char.array` function: +:func:`numpy.char.array <core.defchararray.array>` function: .. autosummary:: :toctree: generated/ |