In NumPy, there are 24 new fundamental Python types to describe different types of scalars. These type descriptors are mostly based on the types available in the C language that CPython is written in, with several additional types compatible with Python’s types.
我没有意识到的是:
The C-like names are associated with character codes, which are shown in the table. Use of the character codes, however, is discouraged.
关于
dtypes
:http://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html的一般信息来自http://docs.scipy.org/doc/numpy/reference/arrays.scalars.html#arrays-scalars-built-in
我没有意识到的是:
我怀疑
numpy
代码/文档库是否会在短期内运行,所以我猜这就是全部!for k, v in np.sctypeDict.iteritems(): print '{0:14s} : {1:40s}'.format(str(k), v)
等等
除了
np.sctypeDict
,还有以下变量:相关问题 更多 >
编程相关推荐