diff options
author | Hassan Kibirige <has2k1@gmail.com> | 2015-09-08 00:30:54 -0500 |
---|---|---|
committer | Hassan Kibirige <has2k1@gmail.com> | 2015-09-08 00:30:54 -0500 |
commit | 0589e9694b378215c5519183dccbccef5c421382 (patch) | |
tree | 1b4ac7ac9b5ebf85ec5f2a8e6478cc8992f25f34 /doc/source | |
parent | d83814dd442a63e2ce9b60bc4e4f62338700e26d (diff) | |
download | numpy-0589e9694b378215c5519183dccbccef5c421382.tar.gz |
DOC: Document Datetime, Timedelta dtype kinds
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/reference/arrays.dtypes.rst | 2 | ||||
-rw-r--r-- | doc/source/reference/arrays.interface.rst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/reference/arrays.dtypes.rst b/doc/source/reference/arrays.dtypes.rst index 8f14118d6..2db32e30d 100644 --- a/doc/source/reference/arrays.dtypes.rst +++ b/doc/source/reference/arrays.dtypes.rst @@ -230,6 +230,8 @@ Array-protocol type strings (see :ref:`arrays.interface`) ``'u'`` unsigned integer ``'f'`` floating-point ``'c'`` complex-floating point + ``'m'`` timedelta + ``'M'`` datetime ``'O'`` (Python) objects ``'S'``, ``'a'`` (byte-)string ``'U'`` Unicode diff --git a/doc/source/reference/arrays.interface.rst b/doc/source/reference/arrays.interface.rst index f707c382e..db640b2d1 100644 --- a/doc/source/reference/arrays.interface.rst +++ b/doc/source/reference/arrays.interface.rst @@ -88,6 +88,8 @@ This approach to the interface consists of the object having an ``u`` Unsigned integer ``f`` Floating point ``c`` Complex floating point + ``m`` Timedelta + ``M`` Datetime ``O`` Object (i.e. the memory contains a pointer to :c:type:`PyObject`) ``S`` String (fixed-length sequence of char) ``U`` Unicode (fixed-length sequence of :c:type:`Py_UNICODE`) |