To expand the output display to see more columns of a Python Pandas DataFrame, we call the set_option method.
For example, we write
import pandas as pd
pd.set_option('display.max_rows', 500)
pd.set_option('display.max_columns', 500)
pd.set_option('display.width', 1000)
to call set_option to set the values for max_rows, max_columns with width of each row.