题解 | #彩灯方阵的变形#
彩灯方阵的变形
https://www.nowcoder.com/practice/d41161944d56480eaeaba8de0ead9235
import pandas as pd
import numpy as np
Matrix = np.genfromtxt("Matrix.csv", delimiter=",",dtype=int)#dtype=int必须要
print(Matrix.flatten(order='F'))
print(Matrix.reshape(4,16))
print(Matrix.reshape(4,4,4))

