type number of dtype.
| 727 | |
| 728 | /// type number of dtype. |
| 729 | int num() const { |
| 730 | // Note: The signature, `dtype::num` follows the naming of NumPy's public |
| 731 | // Python API (i.e., ``dtype.num``), rather than its internal |
| 732 | // C API (``PyArray_Descr::type_num``). |
| 733 | return detail::array_descriptor_proxy(m_ptr)->type_num; |
| 734 | } |
| 735 | |
| 736 | /// Single character for byteorder |
| 737 | char byteorder() const { return detail::array_descriptor_proxy(m_ptr)->byteorder; } |
nothing calls this directly
no test coverage detected