human
Give me a Python code to pretty print columns.
assistant
Here is a Python code to pretty print columns

import numpy as np

def pretty_print_columns(matrix, col_width=80):
    """Pretty print columns of a matrix."""
    for i in range(matrix.shape[0]):
        print(("\n".join(["{:>{}}".format(x, col_width) for x in matrix[i]])))

# Enter the matrix
matrix = np.array([[1,2,3],[4,5,6],[7,8,9]])

# Calling the function
print((pretty_print_columns(matrix)))

#Example Output
#                                                                                1
#                                                                                2
#                                                                                3
#                                                                                4
#                                                                                5
#                                                                                6
#                                                                                7
#                                                                                8
#                                                                                9
# None

#Remember to inspect code for bugs.