🌈 搜索
📅  最后修改于: 2022-03-11 15:00:35.890000             🧑  作者: Mango
np.concatenate([np.diagonal(a[::-1,:], i)[::(2*(i % 2)-1)] for i in range(1-a.shape[0], a.shape[0])])