Linked Questions

Popular Questions

I have a numpy array, and for simplicity sake it is empty. The dimensions are 8x12 . I have my row and column headers defined.

column = [_ for _ in 'ABCDEFGH']
row = list(range(12, 0, -1))
self.board = np.full((12, 8, '||')
dataframe = pd.DataFrame(self.board, index=row, columns=column)

It looks like this:

     A   B   C   D   E   F   G   H
12  ||  ||  ||  ||  ||  ||  ||  ||
11  ||  ||  ||  ||  ||  ||  ||  ||
10  ||  ||  ||  ||  ||  ||  ||  ||
9   ||  ||  ||  ||  ||  ||  ||  ||
8   ||  ||  ||  ||  ||  ||  ||  ||
7   ||  ||  ||  ||  ||  ||  ||  ||
6   ||  ||  ||  ||  ||  ||  ||  ||
5   ||  ||  ||  ||  ||  ||  ||  ||
4   ||  ||  ||  ||  ||  ||  ||  ||
3   ||  ||  ||  ||  ||  ||  ||  ||
2   ||  ||  ||  ||  ||  ||  ||  ||
1   ||  ||  ||  ||  ||  ||  ||  ||

I want to know if I can put the column at the bottom instead of the top?

Related Questions