numpy.dtype.char#

屬性

dtype.char#

每個 21 種不同內建型別的唯一字元碼。

範例

>>> import numpy as np
>>> x = np.dtype(float)
>>> x.char
'd'