小编chi*_*nga的帖子

Python:ndarray.flatten('F')有反转吗?

例如:

from numpy import *
x = array([[1,2], [3, 4], [5, 6]])
print x.flatten('F')
>>>[1 3 5 2 4 6]
Run Code Online (Sandbox Code Playgroud)

有可能[[1,2], [3, 4], [5, 6]]来自[1 3 5 2 4 6]吗?

python arrays numpy

15
推荐指数
2
解决办法
9379
查看次数

标签 统计

arrays ×1

numpy ×1

python ×1