I am trying to format two 2D numpy arrays to have a similar format to this: Table Format
Currently, I have transposed the 2 arrays to look like coordinates:
##Transposes both arrays into coordinates
gameSet = np.array((player1,player2)).T
Then I have iterated through the array to get the similar form using:
##iterates through 2D numpy array
for player1 in range(0, row-1):
print(" ")
for player2 in range(0, col-1):
print (gameSet[player1,player2], end = "")
With the code above, I get the similar format but I would like for it to have the A1...An and B1....Bn on the axis'. Any idea how I could do that or a package that may help with the formatting? Anything helps, thank you!