小编Sin*_*ath的帖子

Numpy:差异b/w A [:i] [:j]和A [:i,:j]

为什么以下操作有所不同?它们是如何在库中实现的?

print(prov_img[:19][:20].shape)
Output : (19, 1250)

print(prov_img[:19,:20].shape)
Output : (19, 20)
Run Code Online (Sandbox Code Playgroud)

python numpy python-3.x

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

标签 统计

numpy ×1

python ×1

python-3.x ×1