小编Hen*_*rik的帖子

如何在numpy中声明一个二进制数组?

这个问题可能很容易回答,但我在 numpy 文档中找不到明显的答案。

初始化二进制 numpy 数组时要选择的 dtype 是什么,如下所示:

array = np.zeros(8, dtype=np.int)
Run Code Online (Sandbox Code Playgroud)

python variables numpy declaration

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

标签 统计

declaration ×1

numpy ×1

python ×1

variables ×1