check max length of column in pandas dataframe code example
Example: Display max number of columns pandas
pd.options.display.max_columns = 999
pd.options.display.max_rows = 999
pd.options.display.max_columns = 999
pd.options.display.max_rows = 999