题解 | #迎新方阵的选取#
迎新方阵的选取
https://www.nowcoder.com/practice/cebf1a4841c34f83936694ca0fd48924
import pandas as pd import numpy as np import datetime coders = np.genfromtxt("Policy.csv", delimiter=",", dtype=int) coders_fliped=np.fliplr(coders) print(np.diag(coders_fliped))