Single-character for dtype's type. For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.
| 918 | /// Single-character for dtype's type. |
| 919 | /// For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'. |
| 920 | char char_() const { |
| 921 | // Note: The signature, `dtype::char_` follows the naming of NumPy's |
| 922 | // public Python API (i.e., ``dtype.char``), rather than its internal |
| 923 | // C API (``PyArray_Descr::type``). |
| 924 | return detail::array_descriptor_proxy(m_ptr)->type; |
| 925 | } |
| 926 | |
| 927 | /// Type number of dtype. Note that different values may be returned for equivalent types, |
| 928 | /// e.g. even though ``long`` may be equivalent to ``int`` or ``long long``, they still have |