小编Pra*_*shi的帖子

numpy在包含多个dtype时如何确定数组数据类型?

我正在尝试使用 numpy,当使用内置方法 dtype.Following 我得到的几个结果时,我遇到了以下数据类型。你能解释一下u11是什么意思吗

a1 = np.array([3,5,'p'])
print(a1.dtype)
Run Code Online (Sandbox Code Playgroud)

o/p = >U11

python numpy numpy-dtype

3
推荐指数
1
解决办法
5879
查看次数

标签 统计

numpy ×1

numpy-dtype ×1

python ×1