Python numpy arrays supporting usage of indices in a diagonal or anti-diagonal coordinate system
The usual default way of creating a Python numpy 2D array from a flat array by reshaping will give a numpy 2D-array object which elements can be addressed by specifying indices or slices representing a row and a column number (zero-based) as the row/column indexing is the default mainstream 2D-indexing based on the concept known from tables and texts where each cell in a table and each character in a text can be identified given its line/row and the column/positionWithinTheLine number (rowNo/lineNo, columnNo)
.