How can I print an array in a grid/table?

Suppose I have the array [1, 2, 3, 4, 5, 6, 7, 8, 9] and want to print it in a grid or table. Example:

| 1 | 4 | 7 |
| 2 | 5 | 8 |
| 3 | 6 | 9 |

Please note that the order is irrelevant. I just need all the text to show up.

Like this?

import numpy as np
import panel as pn
import pandas as pd
pn.pane.DataFrame(pd.DataFrame(np.array([[1, 2, 3, 4, 5, 6, 7, 8, 9]]).reshape(3, 3)))