📜  numpy 沿两个轴展平 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:02.898000             🧑  作者: Mango

代码示例1
>>> arr = numpy.zeros((50,100,25))
>>> arr.shape
# (50, 100, 25)

>>> new_arr = arr.reshape(5000,25)
>>> new_arr.shape   
# (5000, 25)